 | |  | |
December 18th, 2012, 01:48 PM
|
#1 (permalink)
| | Member Verified Customer
Join Date: May 2003 Location: Michigan
Posts: 88
| New install errors
Did a new install of PP classified which seems to be working OK except I am getting the following error when trying to upload images of simply go to an ad.
Warning: Wrong parameter count for strrpos() in /home/sclass/public_html/classifieds/pp-inc.php on line 1096 The above is the error I receive when I click on a category for ads and also when trying to upload images. |
| |
December 18th, 2012, 02:06 PM
|
#2 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,654
|
what version of classifieds are you using?
If your using an older one on a newer server you that could be your issue.
|
| |
December 18th, 2012, 02:13 PM
|
#3 (permalink)
| | Member Verified Customer
Join Date: May 2003 Location: Michigan
Posts: 88
|
New install is 5.2.
|
| |
December 18th, 2012, 02:17 PM
|
#4 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,654
|
So it is not 5.23?
What is line 1096 for you in the file you note because my version is later so lines do not match up.
The line I think your talking about is this and I see no obvious errors with that line Code: Content visible to verified customers only.
|
| |
December 18th, 2012, 02:28 PM
|
#5 (permalink)
| | Member Verified Customer
Join Date: May 2003 Location: Michigan
Posts: 88
|
That is what I show but I show it at 1101.
|
| |
December 18th, 2012, 02:33 PM
|
#6 (permalink)
| | Member Verified Customer
Join Date: May 2003 Location: Michigan
Posts: 88
|
My admin area shows this to be version 5.23 but a message is displayed stating 5.23 upgrade is available.
|
| |
December 18th, 2012, 04:25 PM
|
#7 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,654
|
well 5.23 of pp-inc.php I open up and it is line 1097
I am not seeing where there is an issue here and your not giving me anything to work with. I am using PHP 5.3.8 and can definately upload images
Tell me some about your setup? url test login? Main Index - PhotoPost Classifieds |
| |
December 18th, 2012, 04:56 PM
|
#8 (permalink)
| | Member Verified Customer
Join Date: May 2003 Location: Michigan
Posts: 88
|
Chuck, got it figured out. Server is still running some php 4 scripts so I am running both PHP 4 and 5. Domain defaulted to version 4. Changed it to PHP 5 and it is now working fine. Thanks for your help.
|
| |
December 18th, 2012, 05:06 PM
|
#9 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,654
|
Interesting Okay yeah removing the ,0 would probally make it work in PHP 4.
|
| |
December 19th, 2012, 01:09 PM
|
#10 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,654
|
Let me know if you find anything else you need assistance with. I have not been on PHP 4 in quite a few years now.
|
| |
December 19th, 2012, 01:43 PM
|
#11 (permalink)
| | Member Verified Customer
Join Date: May 2003 Location: Michigan
Posts: 88
|
Chuck, getting the following error on my classified install. This only happens when you ad a category. Do a refresh it goes away and the category is present. Haven't done anything to templates.
Warning: opendir(/home/sclass/public_html/classifieds/templates) [function.opendir]: failed to open dir: No such file or directory in /home/sclass/public_html/classifieds/adm-cats.php on line 444
Warning: readdir(): supplied argument is not a valid Directory resource in /home/sclass/public_html/classifieds/adm-cats.php on line 448
Warning: closedir(): supplied argument is not a valid Directory resource in /home/sclass/public_html/classifieds/adm-cats.php on line 460
PhotoPost Classifieds Category Editor
|
| |
December 19th, 2012, 01:52 PM
|
#12 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,654
|
What happens if you remove this in adm-cats.php Code: Content visible to verified customers only.
I will my own testing but fail to see the need to redefine that variable since we define all that in the global file pp-inc.php
|
| |
December 19th, 2012, 02:04 PM
|
#13 (permalink)
| | Member Verified Customer
Join Date: May 2003 Location: Michigan
Posts: 88
|
That took care of it.
Thanks
|
| |
December 19th, 2012, 02:28 PM
|
#14 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,654
|
Yes I actually removed that legacy code from adm-cats and adm-misc
|
| |
December 25th, 2012, 01:26 PM
|
#15 (permalink)
| | Junior Member Verified Customer
Join Date: Dec 2012
Posts: 7
|
Hey Chuck. Merry Christmas... again.
I do have the same error warnings as Gunslinger states in Post 11 above. I see the fix.
I'm just wondering, since my stats show version 5.23, if it was removed form this build, or will that show later.
(Just trying to get a confirm on version reality vs. version number.)
(Considering my past upgrade madness.)
Thank You.
|
| |
December 25th, 2012, 01:54 PM
|
#16 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,654
|
what happens if you do as instructed in post 12?
|
| |
December 26th, 2012, 10:08 AM
|
#17 (permalink)
| | Junior Member Verified Customer
Join Date: Dec 2012
Posts: 7
|
I did do the edit to adm-cats, before I saw your query.
It worked perfectly.
( I prowled around in adm-misc as well, but didn't try an edit, since it had a xenforo call, and with my rudimentary php reading, couldn't see how a cut would matter. )
Making nice strides on my tweaked xenforo integration, BTW. I'll post a url and send you login when I'm closer to going live.
(Of course I have other issues cropping up, but will post them where appropriate, after I run another set of browser checks. )
|
| |
December 26th, 2012, 10:52 AM
|
#18 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,654
|
yeah well take note depending on your so called tweaks I may or not be able to respond. |
| |
December 28th, 2012, 09:25 AM
|
#19 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,654
|
This bug fix will be included in the next dot release.
|
| | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | | | | Thread Tools | | | | Display Modes | Rate This Thread | Linear Mode | |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | |
Similar Threads | | Thread | Thread Starter | Forum | Replies | Last Post | | Errors on install | TheBen | Photopost Pro Installation & Upgrades | 8 | October 19th, 2008 03:58 PM | | Errors after install | hexonxonx | Photopost Pro Installation & Upgrades | 7 | January 16th, 2007 09:39 AM | | Errors on install =( | Dark Fury | Photopost Pro Installation & Upgrades | 9 | May 9th, 2006 11:47 AM | | Some errors with new install | poongamer | Photopost Pro How Do I...? | 5 | March 24th, 2006 10:02 PM | | New Install Errors | gholsie | Classifieds Installation & Upgrades | 2 | December 20th, 2004 10:18 AM | All times are GMT -5. The time now is 09:39 PM. | |