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 Classifieds Support > Classifieds Bug Reports

Classifieds Bug Reports Post any problems you may be having with Classifieds here.

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old July 13th, 2008, 02:54 AM   #1 (permalink)
Member
 
Join Date: Jul 2008
Posts: 53
Adding Products fails after two.

I seem to be having all sorts of problems...

The first two products added ok. Attempting to add a third results in this error

Unable to move file [C:\WINDOWS\Temp\phpC2.tmp] [C:/path to/pp-classifieds/data/3/clmax.jpg]

Replaced the real path with "path to". It is correct.

Looking at the data folder there is no "3" folder. So apparently it isn't being created. Does every product end up with a numbered folder?
Saftek is offline   Reply With Quote
Old July 13th, 2008, 08:20 AM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,703
Check to make sure your server does not have safe mode set to on in PHPINFO under admin. You can not have safe mode on. Now your path must be correct and permissions must be set to READ WRITE EXECUTE on the data directory for us to create your categories. When you created a new category in admin => edit categories which used the 3 variable since it was next in line your data category did not get created because permissions where not right or your path was wrong. Anyway recheck permissions delete any empty new categories that you set and did not work and recreate them. This time make note if there are any errors and record the numeric number of the new category. You can then verify through ftp it was created. If permissions are correct and it is created you should be able to upload to 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 July 13th, 2008, 01:02 PM   #3 (permalink)
Member
 
Join Date: Jul 2008
Posts: 53
No apparently this was also caused by the strict mode statement in the my.ini file. All the problems noted in various posts seem to relate to that statement... based on my preliminary testing.

As a result, I'd post something telling folks that mysql 5 and above need to have the Strict_trans_tables entry removed from the sql mode statement in the my.ini file (and whatever the *inx version is ...)

# Set the SQL mode to strict
sql-mode="STRICT_TRANS_TABLES,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION"

SHOULD BE:

# Set the SQL mode to strict
sql-mode="NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION"
Saftek is offline   Reply With Quote
Old July 13th, 2008, 01:40 PM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,703
Glad its sorted although I dont see why mysql strict mode would have anything to do with a directory not being created on the server.
__________________
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 July 13th, 2008, 02:05 PM   #5 (permalink)
Member
 
Join Date: Jul 2008
Posts: 53
Got me.
Saftek is offline   Reply With Quote
Old July 13th, 2008, 02:36 PM   #6 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,703
Not a big deal glad its working I just dont see how a php action and a mysql action would have anything to do like that. I mean if the mysql action fails then we dont create a directory and then again you dont have a category created. For you to get the error you have above an entry would have to have been processed in mysql meaning you created the category through the script and it was entered fine but the php directive to create the cat directory failed which is a php issue with a bad path or something. Thats why I stated what I did.

Now unless you created that category directly in mysql to test things that would explain the issue
__________________
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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
If all else fails.... b6gm6n Photopost Pro How Do I...? 1 June 28th, 2007 03:36 PM
showmembers.php "Recent Products: last day/ all products" links don't work(NOT A BUG) Arnie ReviewPost Bug Reports 1 September 2nd, 2005 08:15 AM
uploading fails after upgrade Delphivi Installs and Upgrade - vBulletin 3.0.X 0 March 30th, 2005 05:28 AM
2.8c/vb3: Unreged users adding products and reviews 7thgencivic.com ReviewPost Bug Reports 5 July 20th, 2004 01:35 PM
Re: Recent Products, Random Products, etc slant213 ReviewPost Installation & Upgrades 0 July 3rd, 2004 07:58 PM


All times are GMT -5. The time now is 05:59 PM.

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