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.
what version of classifieds are you using?
If your using an older one on a newer server you that could be your issue.
New install is 5.2.
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
That is what I show but I show it at 1101.
My admin area shows this to be version 5.23 but a message is displayed stating 5.23 upgrade is available.
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
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.
Interesting Okay yeah removing the ,0 would probally make it work in PHP 4.
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.
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
What happens if you remove this in adm-cats.php
That took care of it.
Yes I actually removed that legacy code from adm-cats and adm-misc
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.)
what happens if you do as instructed in post 12?
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. )
yeah well take note depending on your so called tweaks I may or not be able to respond. ;)
This bug fix will be included in the next dot release.
|All times are GMT -5. The time now is 02:46 PM.|
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0