 | |  | | | Photopost Pro How Do I...? Wondering how to do things in PhotoPost? |
May 22nd, 2007, 11:50 AM
|
#1 (permalink)
| | Junior Member Verified Customer
Join Date: May 2007
Posts: 7
| Adding category problem
Hi,
I'm having problems adding categories. Any attempt to add a subcategory, or add a new top level category results in the error:
"Error adding new category to the database. Returned id was 0."
There is no problem with users adding albums.
I've not tried using it until now so I don't know if it has ever been operational.
Any ideas
Rhys
v5.62 btw
|
| |
May 22nd, 2007, 01:01 PM
|
#2 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,706
|
In Admin => Global Options set the debug setting to display errors then try adding a category and tell us the exact error here
|
| |
May 22nd, 2007, 01:06 PM
|
#3 (permalink)
| | Junior Member Verified Customer
Join Date: May 2007
Posts: 7
|
This is what I got:
We're sorry, but the system experienced an unrecoverable error. Please try again later.
Script:
Query: INSERT INTO pp_categories (id,catname,description,catorder,thumbs,parent,header,footer,headtags,password,ugnoview,ugnoupload,ugnopost,ugnoanno,ugnovote,watermark,sortorder,frames,maximages,ratingtype,ismember) VALUES(NULL,'testcategoryname','testcategorydescription','1','yes',1,'','','','', '', '', '', '', '', 'd:/webs/photopost/overlay2.png', '1', '0', '', '', '')
Result: Out of range value adjusted for column 'maximages' at row 1
Database handle: Resource id #5
|
| |
May 22nd, 2007, 01:51 PM
|
#4 (permalink)
| | Junior Member Verified Customer
Join Date: May 2007
Posts: 7
|
think i have sorted the problem
i found a reference to the same problem in another thread and have turned off mysql safe mode
rhys.
btw, it's a nice piece of software
can i add sending ecards to multiple recipients to the wish list ;-) |
| |
May 22nd, 2007, 02:27 PM
|
#5 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,706
|
Yep turning off strict mode should be fine
You can place suggestions for the products in their respective support forums under the suggestions subforum
|
| |
June 18th, 2007, 12:26 PM
|
#6 (permalink)
| | Junior Member Verified Customer
Join Date: Jun 2007
Posts: 12
|
I'm having this same error... Anybody know how I can go about turning off mysql safe mode?
|
| |
June 18th, 2007, 02:15 PM
|
#7 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,706
|
It is mysql strict mode and your host could do that for you.
|
| |
June 20th, 2007, 09:07 PM
|
#8 (permalink)
| | Junior Member Verified Customer
Join Date: Jun 2007
Posts: 12
|
My hosting company won't allow me to do this with any of their shared hosting. Is there another workaround for it?
|
| |
June 20th, 2007, 09:13 PM
|
#9 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,706
|
Do you have phpmyadmin access to view the actual database tables?
|
| |
June 20th, 2007, 09:26 PM
|
#10 (permalink)
| | Junior Member Verified Customer
Join Date: Jun 2007
Posts: 12
|
yes, I do
|
| |
June 20th, 2007, 09:32 PM
|
#11 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,706
|
you can send that url and access to support@photopost.com as well as url and admin login to photopost and we shall see if we can come up with something
|
| |
September 16th, 2007, 05:15 AM
|
#12 (permalink)
| | Member Verified Customer
Join Date: Nov 2006 Location: french riviera
Posts: 52
|
hi all,
i have exactly the same problem...
but it's strange, it is a new problem, before i can add sub-categories, now i don't
why ?
i didn't change anything...
ps: i have ads classifieds, photopost gallery and reviewpost all in the same database and i have only this problem with ads |
| |
September 16th, 2007, 11:33 AM
|
#13 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,706
|
What is your exact error? Turn on admin global options debug setting to DISPLAY ERRORS.
See if you can post us your exact mysql error.
|
| |
September 16th, 2007, 05:07 PM
|
#14 (permalink)
| | Member Verified Customer
Join Date: Nov 2006 Location: french riviera
Posts: 52
| Quote:
Originally Posted by Chuck S What is your exact error? Turn on admin global options debug setting to DISPLAY ERRORS.
See if you can post us your exact mysql error. | how can i do that ?
|
| |
September 16th, 2007, 05:28 PM
|
#15 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,706
|
As the quoted statement says Go to Admin => Global Options and set the debug switch there to display errors and when you try adding a cat you should get the true error displaying now.
|
| |
September 17th, 2007, 03:44 AM
|
#16 (permalink)
| | Member Verified Customer
Join Date: Nov 2006 Location: french riviera
Posts: 52
|
thanks ChuckS Code: Content visible to verified customers only.
|
| |
September 17th, 2007, 09:05 AM
|
#17 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,706
|
In adm-misc.php at the top try adding this line in bold Code: Content visible to verified customers only.
|
| |
September 17th, 2007, 02:50 PM
|
#18 (permalink)
| | Member Verified Customer
Join Date: Nov 2006 Location: french riviera
Posts: 52
|
ok chuck i will try... 'cause unforunately i have big trouble to connect to my ftp server...
i'll be back for... feedback !
thank you very much for your eternal support |
| |
September 17th, 2007, 03:32 PM
|
#19 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,706
|
Not a problem talk with ya later.
|
| |
October 9th, 2007, 05:11 PM
|
#20 (permalink)
| | Junior Member Verified Customer
Join Date: Oct 2007
Posts: 12
|
Similar problem here. I can add a new catagory if I manually go into my database but cant add it from the admin cp. I read about about the mysql safe mode being off. I checked that and it is set to off. But anyways here is what I get... Code: Content visible to verified customers only.
Debug mode shows this... Code: Content visible to verified customers only.
Last edited by truthbio; October 9th, 2007 at 06:26 PM.
|
| | |
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 03:07 AM. | |