 | |  | | | Photopost Pro Bug Reports Post post installation PhotoPost Pro problems here. |
August 20th, 2008, 01:41 PM
|
#1 (permalink)
| | Member Verified Customer
Join Date: Dec 2005
Posts: 92
| Error when editing a ad
Hi Chuck,
I am getting an error when I try to edit an ad
Warning: Invalid argument supplied for foreach() in /usr/home/public_html/classifieds/pp-inc.php on line 1065
(PhotoPost Classifieds Current Version 3.03)
(vBulletin 3.7.2 Patch Level 1)
|
| |
August 20th, 2008, 01:48 PM
|
#2 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 68,070
|
Do you have a link?
I dont understand what editing an ad would have to do with the display_gallery function in pp-inc.php for the feature blocks as we dont call the feature blocks on the editproduct script
I just tested on my site and did not have an issue so lets get some more info here and see what we see |
| |
August 20th, 2008, 01:52 PM
|
#3 (permalink)
| | Member Verified Customer
Join Date: Dec 2005
Posts: 92
|
Hi Chuck,
Can I PM you the link? Quote:
Originally Posted by Chuck S Do you have a link?
I dont understand what editing an ad would have to do with the display_gallery function in pp-inc.php for the feature blocks as we dont call the feature blocks on the editproduct script
I just tested on my site and did not have an issue so lets get some more info here and see what we see  | |
| |
August 20th, 2008, 01:54 PM
|
#4 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 68,070
|
You can email us through the contact us link in the header
|
| |
August 20th, 2008, 02:04 PM
|
#5 (permalink)
| | Member Verified Customer
Join Date: Dec 2005
Posts: 92
|
Ok, I did.
I don't want any more on it till I get it fixed
Thanks Quote:
Originally Posted by Chuck S You can email us through the contact us link in the header | |
| |
August 20th, 2008, 02:05 PM
|
#6 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 68,070
|
yeah the important part is to find out if php mail works.
|
| |
August 20th, 2008, 02:11 PM
|
#7 (permalink)
| | Member Verified Customer
Join Date: Dec 2005
Posts: 92
|
Ok, what to look for...
It mails the errors to me, so I would say it is working?
Thanks Quote:
Originally Posted by Chuck S yeah the important part is to find out if php mail works. | |
| |
August 20th, 2008, 03:07 PM
|
#8 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 68,070
|
try redownloading the source and upload register.php and test it
|
| |
August 20th, 2008, 04:07 PM
|
#9 (permalink)
| | Member Verified Customer
Join Date: Dec 2005
Posts: 92
|
Ok, I did still have the same error, any suggestion?
Thanks Quote:
Originally Posted by Chuck S try redownloading the source and upload register.php and test it | |
| |
August 20th, 2008, 04:08 PM
|
#10 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 68,070
|
Not other than checking to ensure php mail is functioning on the server by emailing your host. it would appear that is not the case and you need to turn off email verification.
|
| |
August 20th, 2008, 04:20 PM
|
#11 (permalink)
| | Member Verified Customer
Join Date: Dec 2005
Posts: 92
|
I just deleted an ad and it sent a email to the poster... Quote:
I'm sorry, but the ad you submitted to xxxxxxxx.com, titled
"xxxxxxxxxxxxxx", has been deleted. Some reasons for ad deletions include:
- Ads that were partially uploaded/incomplete
- Extremely poor quality/images (impossible to make out the image itself)
- Ads that did not conform to our published site contribution and usage guidelines such as offensive
- Ads which were not paid for after submission
If you would like to submit another ad, please return to our ad upload form: | So I am thinking that it is working.... but I'll also "turn off email verification"
Thanks Quote:
Originally Posted by Chuck S Not other than checking to ensure php mail is functioning on the server by emailing your host. it would appear that is not the case and you need to turn off email verification. | |
| |
August 20th, 2008, 04:29 PM
|
#12 (permalink)
| | Member Verified Customer
Join Date: Dec 2005
Posts: 92
|
Ok,
Use email to notify users? NO
Allow users to be notified of new posts via email? NO
I still get the error, help
Thanks Quote:
Originally Posted by JoeWho I just deleted an ad and it sent a email to the poster...
So I am thinking that it is working.... but I'll also "turn off email verification"
Thanks | |
| |
August 20th, 2008, 07:44 PM
|
#13 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 68,070
|
Well if you get emails then you might want to have users check their spam filters etc. try registering a test user yourself. I look at our registration script and I see this which is valid. we are talking registrations through our software and not a forum right? Code: Content visible to verified customers only.
|
| |
August 21st, 2008, 10:56 AM
|
#14 (permalink)
| | Member Verified Customer
Join Date: Dec 2005
Posts: 92
|
Hi Chuck,
I have checked it with a "test user" account, still get the error message.
Users/members register through the forum, ok?
We are talking about the error... when someone edits their ad, yes?
Thanks. Quote:
Originally Posted by Chuck S Well if you get emails then you might want to have users check their spam filters etc. try registering a test user yourself. I look at our registration script and I see this which is valid. we are talking registrations through our software and not a forum right? Code: Content visible to verified customers only.
| |
| |
August 21st, 2008, 11:35 AM
|
#15 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 68,070
|
Actually I am not sure how this turned into an email discussion. Anyway as I stated if you have an issue with editing an ad and the error you noted turn on debug option in global option to display errors and as admin tell me what the true error is when editing an ad.
Your error you posted in your original post does not make sense to me because if I look at line 1065 which is the display_gallery function which we dont call on editphoto that does not equate to anything. So I need to know the true mysql error to suggest a fix. I also tested our downloadable code and do not get such an error.
|
| |
August 21st, 2008, 11:38 AM
|
#16 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 68,070
|
Okay I just got an email from you and edited several ads on your site after setting debug option to display errors and I get no error so please assist me in what steps there are to reproduce the error?
|
| |
August 21st, 2008, 11:48 AM
|
#17 (permalink)
| | Member Verified Customer
Join Date: Dec 2005
Posts: 92
|
Ok, click on the first ad, then click edit... do you see there error on the left side? Quote:
Originally Posted by Chuck S Okay I just got an email from you and edited several ads on your site after setting debug option to display errors and I get no error so please assist me in what steps there are to reproduce the error? | |
| |
August 21st, 2008, 11:49 AM
|
#18 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 68,070
|
try it now
|
| |
August 21st, 2008, 11:57 AM
|
#19 (permalink)
| | Member Verified Customer
Join Date: Dec 2005
Posts: 92
|
Hey chuck, what did you change... it looks like it is fixed!
Thanks. Quote:
Originally Posted by Chuck S try it now | |
| |
August 21st, 2008, 12:00 PM
|
#20 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 68,070
|
yeah something one does not usually see when editing an ad. I just made it so the random pal does not show on the edit page
|
| | |
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 | | | All times are GMT -5. The time now is 10:56 AM. | |