Author Topic: Simple errors I am sure.  (Read 8031 times)

0 Members and 1 Guest are viewing this topic.

Offline RUNAKED

  • Pre-Newbie
  • Posts: 3
    • View Profile
    • http://www.runaked.com
Simple errors I am sure.
« on: June 18, 2002, 01:54:24 PM »
Warning: Unable to create './data/media/1/MEANDBECCA2.jpg': No such file or directory in /home/runaked/public_html/gallery/includes/upload.php on line 121

Warning: Unable to move '/tmp/phpRkDgzy' to './data/media/1/MEANDBECCA2.jpg' in /home/runaked/public_html/gallery/includes/upload.php on line 121

What kind of errors does that tell you?

www.runaked.com/gallery

Not a bad site mind you...

I have not seen that tmp folder...

Offline Jan

  • Administrator
  • 4images Guru
  • *****
  • Posts: 5.024
    • View Profile
    • 4images - Image Gallery Management System
Simple errors I am sure.
« Reply #1 on: June 18, 2002, 02:20:09 PM »
Check if the folder "1" in "data/media/" exists. If not create the folder and chmod it with 777.

Greets Jan
Your first three "must do" before you ask a question:
1. Forum rules
2. FAQ
3. Search

Offline RUNAKED

  • Pre-Newbie
  • Posts: 3
    • View Profile
    • http://www.runaked.com
Simple errors I am sure.
« Reply #2 on: June 19, 2002, 01:45:57 PM »
Thanks Jan!

Offline keemo

  • Newbie
  • *
  • Posts: 30
    • View Profile
    • http://www.zaffix.com
Simple errors I am sure.
« Reply #3 on: June 19, 2002, 04:32:23 PM »
I too am receiving this same error and unable to figure out how to get around it. I have chmod the folders.

Warning: Unable to create './data/media/1/MEANDBECCA2.jpg': No such file or directory in /home/runaked/public_html/gallery/includes/upload.php on line 121

Warning: Unable to move '/tmp/phpRkDgzy' to './data/media/1/MEANDBECCA2.jpg' in /home/runaked/public_html/gallery/includes/upload.php on line 121

looking at the above error, is it possible that the "." before the / is causing this error? I am not sure.

Any further input would be great.

Thanks

Offline Jan

  • Administrator
  • 4images Guru
  • *****
  • Posts: 5.024
    • View Profile
    • 4images - Image Gallery Management System
Simple errors I am sure.
« Reply #4 on: June 19, 2002, 04:56:06 PM »
Quote from: keemo
looking at the above error, is it possible that the "." before the / is causing this error? I am not sure.

No
Quote
Any further input would be great.

Have you checked if the folder "1" exists?

Jan
Your first three "must do" before you ask a question:
1. Forum rules
2. FAQ
3. Search

Offline DigiSmack

  • Newbie
  • *
  • Posts: 25
    • View Profile
    • http://www.digitalsmackdown.com
Simple errors I am sure.
« Reply #5 on: June 19, 2002, 09:56:36 PM »
I've had this problem too..it was because the folder did not exsist.  Creating a the dir by hand was a  Simple enough to work around, but it dones't seem to be a real solution.  Why doens't the script make the dir itself??  This happens for each catagroy in your gallery..and it's a pain when a new one is made and no one can upload because I have to manually add a dir for uploading.  
Is there a real solution to this error? ...one that prevents it from happening over and over

Offline Jan

  • Administrator
  • 4images Guru
  • *****
  • Posts: 5.024
    • View Profile
    • 4images - Image Gallery Management System
Simple errors I am sure.
« Reply #6 on: June 19, 2002, 10:25:16 PM »
The script creates the folders. If not, its a permission problem (see Installation.txt) or your server configuration don't allow this.
We have had the cases, that if you create the first category, this folder is not created, for the next categories it works by some miracle.
Have you tested it for more categories?

Jan
Your first three "must do" before you ask a question:
1. Forum rules
2. FAQ
3. Search

Offline DigiSmack

  • Newbie
  • *
  • Posts: 25
    • View Profile
    • http://www.digitalsmackdown.com
Simple errors I am sure.
« Reply #7 on: June 19, 2002, 11:49:51 PM »
I have tested mine, and I know it didn't create the next to catagory folders I tried.
My data and media dirs are both set to 0777 .  Any ideas?  For now I just created a bunch of dir (1-10)..does it always just go in numerical order?  IF so I guess it's not too hard to just do it by hand ahead of time..but still not a solution, rather a work around