Announcement

  •  » Extensions
  •  » image upload thru ploader not working

#1 2009-04-20 17:19:24

andrej
Guest

image upload thru ploader not working

hi peeps

i installed piwigo on my friend's website, but i have serious problems to make it work

i'm trying to use ploader app, but it keeps getting me 500 error on directory creation... what might be the problem ?

ask me any questions you need to have answered. we need to have this website functional asap, it's really urgent, please help us.

thx a lot, please help :)

 

#2 2009-04-20 17:30:11

ron
Former Piwigo Team
2008-09-30
69

Re: image upload thru ploader not working

What action causes the error ? What is the exact message ( screenshot helps ).

Offline

 

#3 2009-04-20 23:06:53

andrej
Guest

Re: image upload thru ploader not working

ron wrote:

What action causes the error ? What is the exact message ( screenshot helps ).

here it is, i really appreciate your help on this

http://www.tormentor.sk/error-screen.JPG

 

#4 2009-04-20 23:21:28

plg
Piwigo Team
Nantes, France, Europe
2002-04-05
13791

Re: image upload thru ploader not working

At the root of your Piwigo installation, do you have a "upload" directory? (as described in [Administration>Instructions>Add photos, the pLoader way]
What the access rights on this "upload" directory?
Do you have some directories created into the "upload" directory?

Offline

 

#5 2009-04-20 23:54:59

andrej
Guest

Re: image upload thru ploader not working

plg wrote:

At the root of your Piwigo installation, do you have a "upload" directory? (as described in [Administration>Instructions>Add photos, the pLoader way]
What the access rights on this "upload" directory?
Do you have some directories created into the "upload" directory?

yes,i created  the "upload" dir
it is set to 777
nope, none directories in "upload"

 

#6 2009-04-21 00:16:41

plg
Piwigo Team
Nantes, France, Europe
2002-04-05
13791

Re: image upload thru ploader not working

You have the same problem as Jan Bos in [Forum, post 106016 by Jan Bos in topic 14913] Another install problem

I see 2 possible problems:

1. your web hosting provider has forbidden the "mkdir" function

2. your "upload" directory is not at the right place. Are you sure the "uplaod" directory is next to "galleries" and "include" ?

If you answer YES to the 2 possible problem, I'll give you a method to answer to "do I have problem 1?"

Offline

 

#7 2009-04-21 09:21:43

andrej
Guest

Re: image upload thru ploader not working

plg wrote:

You have the same problem as Jan Bos in [Forum, post 106016 by Jan Bos in topic 14913] Another install problem

I see 2 possible problems:

1. your web hosting provider has forbidden the "mkdir" function

2. your "upload" directory is not at the right place. Are you sure the "uplaod" directory is next to "galleries" and "include" ?

If you answer YES to the 2 possible problem, I'll give you a method to answer to "do I have problem 1?"

1. I guess this might be the problem. But I installed piwigo via netinstall file and everything went OK. But I don't know if it has anything to do with mkdir
Also if I try to upload photos thru web admin I get php error in upload.php -> something with safe_mode.

2. The dir structure looks following:
admin
doc
galleries
include
.
.
.
.
.
upload

I hope I understood it OK in instructions.


I really appreciate your help on this.
After I will be able to make it fully operational I need to translate the interface into Slovak language, so I can provide you guys with another translation for your script.

 

#8 2009-04-21 14:09:05

andrej
Guest

Re: image upload thru ploader not working

update:

I just got a response from hosting provider. they say the function mkdir is allowed and that there is probably a problem with access rights on the folder

 

#9 2009-04-21 16:33:29

tomas
Guest

Re: image upload thru ploader not working

same problem, pls. help us..  thanks..

 

#10 2009-04-21 23:39:02

plg
Piwigo Team
Nantes, France, Europe
2002-04-05
13791

Re: image upload thru ploader not working

It is not understandable that you get this error if you have any access right problems. You should first get a "error during buffer directory creation".

When you upload a photo, some chunks are uploaded in uploade/buffer and once all chunks are uploaded, Piwigo merge them into there final place. But you told me there were no directory under "upload", not even "buffer". It sounds very... unexpected :-/

I see on the screenshot you're running pLoader 2.0.1b. Are you running Piwigo 2.0.1 on server side? (not 2.0.0)

Offline

 

#11 2009-04-22 08:56:25

andrej
Guest

Re: image upload thru ploader not working

Hello

I am very confused too.
Piwigo version installed is 2.0.1

I will try to contact you on ICQ.

Thanks

 

#12 2009-04-24 23:07:45

plg
Piwigo Team
Nantes, France, Europe
2002-04-05
13791

Re: image upload thru ploader not working

I'm trying to understand what can be wrong.

Smarty (template engine) is able to create its _data/templates_c directory
LocalFiles Editor is able to create the plugins/PersonalPlugin

But pwg.imaged.addChunk is not able to create the upload/buffer directory :-/ even if I write the exact same code as LocalFile Editor :-/

Offline

 

#13 2009-04-25 11:52:35

plg
Piwigo Team
Nantes, France, Europe
2002-04-05
13791

Re: image upload thru ploader not working

With the help of rub and P@t, we're still strying to understand where SAFE_MODE is blocking Piwigo to create upload/buffer directory!

andrej, when you installed Piwigo with netinstall, did you create the "_data/templates_c" directory by hand?

What's really unexpected is that piwigo-netinstall.php has no problem to create directories and so on. I've added the "upload" directory in the piwigo-2.0.1_andrej.zip but now piwigo-netinstall.php fails.

Still trying to understand :-/

Offline

 

#14 2009-04-26 12:17:04

andrej
Guest

Re: image upload thru ploader not working

Hi

I did not create anything by hand. Everything there is was created by script.

I'm gonna try to install piwigo on my other hosting which I have at Hostgator. I will inform you how it went.

 

#15 2009-04-26 13:06:26

laurent.duretz
Piwigo Team
22 France
2004-06-29
582

Re: image upload thru ploader not working

Could you please tell us which PHP version you are using on your server ?


« Entre Ce que je pense, Ce que je veux dire, Ce que je crois dire, Ce que je dis, Ce que vous avez envie d'entendre, Ce que vous entendez, Ce que vous comprenez... il y a dix possibilités qu'on ait des difficultés à communiquer. Mais essayons quand même... »
[ Bernard Werber ]
This is more difficult if you don't understand French !
[ Laurent ]

Offline

 
  •  » Extensions
  •  » image upload thru ploader not working

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2024 · Contact