PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |

Go Back   PhotoPost Community > PhotoPost Support > PhotoPost Pro Support Forums > Photopost Pro Bug Reports

Photopost Pro Bug Reports Post post installation PhotoPost Pro problems here.

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old 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)
JoeWho is offline   Reply With Quote
Old August 20th, 2008, 01:48 PM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
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
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old 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 View Post
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
JoeWho is offline   Reply With Quote
Old August 20th, 2008, 01:54 PM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 68,070
You can email us through the contact us link in the header
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old 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 View Post
You can email us through the contact us link in the header
JoeWho is offline   Reply With Quote
Old August 20th, 2008, 02:05 PM   #6 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 68,070
yeah the important part is to find out if php mail works.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old 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 View Post
yeah the important part is to find out if php mail works.
JoeWho is offline   Reply With Quote
Old August 20th, 2008, 03:07 PM   #8 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 68,070
try redownloading the source and upload register.php and test it
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old 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 View Post
try redownloading the source and upload register.php and test it
JoeWho is offline   Reply With Quote
Old August 20th, 2008, 04:08 PM   #10 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
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.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old 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 View Post
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.
JoeWho is offline   Reply With Quote
Old 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 View Post
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
JoeWho is offline   Reply With Quote
Old August 20th, 2008, 07:44 PM   #13 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
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.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old 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 View Post
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.
JoeWho is offline   Reply With Quote
Old August 21st, 2008, 11:35 AM   #15 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
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.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old August 21st, 2008, 11:38 AM   #16 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
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?
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old 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 View Post
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?
Attached Images
File Type: jpg PPC_error-1.jpg (72.1 KB, 2 views)
JoeWho is offline   Reply With Quote
Old August 21st, 2008, 11:49 AM   #18 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 68,070
try it now
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old 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 View Post
try it now
JoeWho is offline   Reply With Quote
Old August 21st, 2008, 12:00 PM   #20 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
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
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
(Error Code: 1) Editing a review and adding more images aacircle ReviewPost How do I...? 4 October 2nd, 2007 05:50 PM
Editing ad - error CGMathis Classifieds How do I...? 2 October 26th, 2006 09:20 PM
PP5.5 : query error when editing comments flat Photopost Pro Bug Reports 1 September 29th, 2006 05:41 PM
error of editing my header, footer and headtags from admin! shawnlovebaobao Classifieds How do I...? 4 March 19th, 2006 11:09 AM
admin error editing stylesheets 5.3 bwolcott Photopost Pro Installation & Upgrades 2 January 26th, 2006 12:44 AM


All times are GMT -5. The time now is 10:56 AM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0