 | |  | | | Classifieds Installation & Upgrades If you're having install or upgrade problems, post here. |
March 25th, 2006, 02:49 PM
|
#1 (permalink)
| | Junior Member Verified Customer
Join Date: Mar 2006
Posts: 24
| Error trying to post ads
Hi again, I had everything working fine yesterday, now today, when I tried to place an ad I got the following errors:
Warning: move_uploaded_file(D:/......../adkboards.com/classifieds/data//8/P1010029.jpg) [function.move-uploaded-file]: failed to open stream: No such file or directory in D:\........\adkboards.com\classifieds\image-inc.php on line 55
Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move 'D:\Programfiles\PHP\uploadtemp\php5D44.tmp' to 'D:/........../adkboards.com/classifieds/data//8/P1010029.jpg' in D:\...........\adkboards.com\classifieds\image-inc.php on line 55
('........' = the real path that I edited out)
It seems that I am running into the direction of the 'slash' problem again, but I did not change anything. Thanks for your help.
|
| |
March 25th, 2006, 03:03 PM
|
#2 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,945
|
You have an extra slash in your data path in Admin => Global Options you can correct that
|
| |
March 25th, 2006, 03:41 PM
|
#3 (permalink)
| | Junior Member Verified Customer
Join Date: Mar 2006
Posts: 24
|
No good - I get the same error message, just without the double slash.
Warning: move_uploaded_file(D:/Clients/14508/adkboards.com/adkboards.com/classifieds/data/8/P1010029.jpg) [function.move-uploaded-file]: failed to open stream: No such file or directory in D:\.........\adkboards.com\classifieds\image-inc.php on line 55
Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move 'D:\Programfiles\PHP\uploadtemp\php5DC7.tmp' to 'D:/Clients/14508/adkboards.com/adkboards.com/classifieds/data/8/P1010029.jpg' in D:\...........\adkboards.com\classifieds\image-inc.php on line 55
|
| |
March 25th, 2006, 08:06 PM
|
#4 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,945
|
Okay then this goes back to installation issue did you set permissions on the uploads and data directories as noted in the install instructions they must be 777
On windows this would be READ WRITE EXECUTE
|
| |
March 25th, 2006, 08:38 PM
|
#5 (permalink)
| | Junior Member Verified Customer
Join Date: Mar 2006
Posts: 24
|
The permissions are set correctly. Everything was working fine yesterday, I was able to place an ad no problem, all of a sudden today, I can no longer get one to post.
|
| |
March 25th, 2006, 08:42 PM
|
#6 (permalink)
| | Junior Member Verified Customer
Join Date: Mar 2006
Posts: 24
|
It seems to be a problem with creating the necessary folders in the 'Data' directory. I created a category yesterday with an index of '1' and I saw there was a folder named '1' in the data directory after I added an ad. I have since deleted this category and the subsequent categories I have added will not add the folders. Is there a field in the table 'pp_categories' that needs to be set to a certain value to make the new folders? Just kind of stabbing in the dark here as I really have no idea what I'm doing.
|
| |
March 25th, 2006, 08:50 PM
|
#7 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,945
|
Ah yes if your not creating categories normally cause your using mysql 5 then you need to manually create the data directories
data/1
data/1/thumbs
data/1/medium
data/1/mini
|
| |
March 25th, 2006, 08:56 PM
|
#8 (permalink)
| | Junior Member Verified Customer
Join Date: Mar 2006
Posts: 24
|
Would I also need to set these new directories to CHMOD 777 or whatever the windows equivolent is? Do I also need to add the blank .html file called 'index'?
Last edited by adkboards; March 25th, 2006 at 09:21 PM.
|
| |
March 26th, 2006, 08:34 AM
|
#9 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,945
|
YES you would but in windows dont you have the permissions autogenerated from the parent directory?
|
| |
March 26th, 2006, 03:51 PM
|
#10 (permalink)
| | Junior Member Verified Customer
Join Date: Mar 2006
Posts: 24
|
I created the directories and now I'm getting different error messages:
Warning: copy(D:/......./adkboards.com/classifieds/data/1/large/P1010029.jpg) [function.copy]: failed to open stream: No such file or directory in D:\.......\adkboards.com\classifieds\image-inc.php on line 303
Warning: getimagesize(D:/......./adkboards.com/classifieds/data/1/large/P1010029.jpg) [function.getimagesize]: failed to open stream: No such file or directory in D:\.......\adkboards.com\classifieds\image-inc.php on line 99
Warning: unlink(D:/......./adkboards.com/classifieds/data/1/large/P1010029.jpg) [function.unlink]: No such file or directory in D:\.......\adkboards.com\classifieds\image-inc.php on line 109
and in the message box in the center of the screen:
Sorry, this image type () is not supported yet.
Any other ideas?
|
| |
March 26th, 2006, 04:03 PM
|
#11 (permalink)
| | Junior Member Verified Customer
Join Date: Mar 2006
Posts: 24
|
Never mind that above post, you had told me to create folders called:
thumbs - medium - mini
but I needed to call them large - thumbs. Now I am getting the following error:
Warning: move_uploaded_file(D:/....../adkboards.com/classifieds/data/1/P10100291.jpg) [function.move-uploaded-file]: failed to open stream: Permission denied in D:\......\adkboards.com\classifieds\image-inc.php on line 55
Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move 'D:\Programfiles\PHP\uploadtemp\php7DEF.tmp' to 'D:/....../adkboards.com/classifieds/data/1/P10100291.jpg' in D:\......\adkboards.com\classifieds\image-inc.php on line 55
Is this now a permissions problem?
|
| |
March 26th, 2006, 05:56 PM
|
#12 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,945
|
Yes thats permissions on the directories need to be READ WRITE EXECUTE
|
| | |
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 04:39 PM. | |