Error (ERROR_BAD_PATH)

fversteegen

Joined: 2003-03-24
Posts: 6
Posted: Thu, 2003-04-03 11:29

Hi,

I installed Gallery V2 and everything went right! Except uploading new files... :cry:
When I try to upload a file (jpg) then I get the following error:

Error (ERROR_BAD_PATH)
in modules/core/classes/GalleryDataItem.class (gallerystatus::error) at line 125
in modules/core/ItemAddChildren.inc (galleryunknownitem::create) at line 111
in main.php (itemaddchildrencontroller::handlerequest) at line 128
in main.php at line 24

I read the other post about this problem, but my upload_tmp_dir IS specified in my php.ini (/tmp) I'm sure it is, because when I run PHPinfo it clearly displays it's presency...
I tried it with numerous files starting from very small to very large, but still exactly the same error... When I let G2 create it's own album and pictures (the Gallery logo) everything goes right and the pictures are added, so I guess my problem is uploading...
Can anyone help me with this?

 
adpowers

Joined: 2003-03-25
Posts: 17
Posted: Thu, 2003-04-03 16:27

Just out of curiousity, how did you install gallery? Did you get the CVS files directly, or did you download a snapshot from someone?

 
fversteegen

Joined: 2003-03-24
Posts: 6
Posted: Fri, 2003-04-04 09:51

No, I used a snapshot...

 
adpowers

Joined: 2003-03-25
Posts: 17
Posted: Fri, 2003-04-04 16:33

A week or so ago, when I tried to set up gallery 2.0, I first used the snapshot and got a similar error message (ERROR_BAD_PATH). I think it was the same one, but in a different place in the code. The next day I downloaded the CVS code and I am fairly sure I had the same settings, except it worked. If possible, you may want to get the files directly from CVS.

Andrew

 
alindeman
alindeman's picture

Joined: 2002-10-06
Posts: 8194
Posted: Fri, 2003-04-04 23:38

See here -- http://sourceforge.net/cvs/?group_id=7130 -- if you want more info on how to do that...