1
ballboy
Edito 2.3 Picture upload woes
  • 2005/2/9 17:44

  • ballboy

  • Just popping in

  • Posts: 12

  • Since: 2005/1/26


Having problems uploading pictures with Edito 2.3 (which otherwise is a superb module).

Install went ok with no erors, module functions with no errors but won't upload pictures.

have chmod to 777 on default upload directory but nothing ever appears there, anyone any ideas??

cheers

Ian

2
carnuke
Re: Edito 2.3 Picture upload woes
  • 2005/2/9 18:22

  • carnuke

  • Home away from home

  • Posts: 1955

  • Since: 2003/11/5


its the images/uploads/ folder you need to chmod to 0777, nothing else

3
ballboy
Re: Edito 2.3 Picture upload woes
  • 2005/2/10 12:11

  • ballboy

  • Just popping in

  • Posts: 12

  • Since: 2005/1/26


sorry should have made myself clearer, images\uploads directory is chmod 777

funnily enough if I change the path for the upload directory to say htdocs\modules\edito\images\uploads I get an error saying failed to open directory and failed to write to it.

If I change path to \modules\edito\images\uploads I get no errors and a message saying edito successfully created, but get no picture and uploads directory has no picture added to it.

Using edito 2.3 with a XOOPS 2.07 engine. I am missing something blindingly obvious or is it worth trying a reinstall of edito??

cheers

Ian

4
solo71
Re: Edito 2.3 Picture upload woes
  • 2005/2/10 12:24

  • solo71

  • Module Developer

  • Posts: 941

  • Since: 2003/1/29


Are you sure your directory is correctly CHMODed. Sometimes, you change the CHMOD with your FTP but in reality it didn't.

Check this please.


5
carnuke
Re: Edito 2.3 Picture upload woes
  • 2005/2/10 12:42

  • carnuke

  • Home away from home

  • Posts: 1955

  • Since: 2003/11/5


in your ftp manager or cpanel open yoursite.com/modules/edito/images/uploads folder and see whats in it.

There will be a few default images, some old rabbit thing (lapin) and anything you uploaded also.

Check to see if your images are there.

then in your browser call yoursite.com/modules/edito/images/uploads/myimage.jpg

myimage.jpg should be an image that is in that folder that you saw. The image should be displayed in your browser.

This whole test proves
1- the images are there or not and can/cannot be uploaded.
2- The images are good and can be called and displayed in the browser.

6
ballboy
Re: Edito 2.3 Picture upload woes
  • 2005/2/10 13:39

  • ballboy

  • Just popping in

  • Posts: 12

  • Since: 2005/1/26


Thanks for the advice guys, really appreciate it, I'm going to do a reinstall tonight and check all the chmod values.

Funnily enough I had the same problem with an earlier version of ediot which is why I upgraded. Perhaps a more deep seated problem is here (my incompetance ?

Solo71, I'm sure you made a comment that the module was easy to clone due to the way it was written, could you send me instructions on this as I really like this module and can foresee a need to use it mre thanonce on the site.

cheers

Ian

7
solo71
Re: Edito 2.3 Picture upload woes
  • 2005/2/10 13:52

  • solo71

  • Module Developer

  • Posts: 941

  • Since: 2003/1/29


Quote:

ballboy wrote:

Solo71, I'm sure you made a comment that the module was easy to clone due to the way it was written, could you send me instructions on this as I really like this module and can foresee a need to use it mre thanonce on the site.


Simply edit each and every files (even file names), remplace those 2 values with corresponding change :

edito (directory name) -> mymodule
edito -> mymodule
EDITO -> MYMODULE

Just pay attention to capslocks. It's about it.

I haven't tested this on the current versions, but hopefully that should work. In the next release I'll try to make this manipulation easier.



EDIT : If you succeed with it, please send it to me so I could propose it as second download.

8
ballboy
Re: Edito 2.3 Picture upload woes
  • 2005/2/10 14:44

  • ballboy

  • Just popping in

  • Posts: 12

  • Since: 2005/1/26


no worries will do, want to get the picture upload sorted first though.

had a quick play as I have a picture gallery (xcgal) module which I can upload pictures to, tried uploading a picture to it's upload directory but wasn't able to.. Can select a picture from there to display in edito though, so the dislay functionality is fine, it's just the uploads that are problematical.

Full restore and try again tonight.

thanks

Ian

9
ballboy
Re: Edito 2.3 Picture upload woes
  • 2005/2/10 21:11

  • ballboy

  • Just popping in

  • Posts: 12

  • Since: 2005/1/26


Ok Here's tonights update.

Deactivated module and then uninstalled it.
Deleted installation - could not delete the uploads folder, had to move this out of the way.
Reinstalled without errors.
chmod 0777 on uploads folder 3 times
Gave module admin and access rights to test group.
Created edito all apparently successful but no image saved to uploads folder.
Manually ftp'd image to uploads folder and this was available to select and works.
Tried changing the chmod value to other than 0777 but received errors about unable to write to directory when uploading.
Noticed that in displayed error message everything has double \\ ie c:\\windows\\desktop\image1.jpg

tried uploading large pdf file instead of picture, this takes time as though it was actually uploading, still nothing in the uploads directory.

tried adding trailing slash although settings text advises against - this one didn't work

finally created my own directory under images, chmod 777, still no luck. tried this again in root but still no image appearing on server.

any ideas???

10
solo71
Re: Edito 2.3 Picture upload woes
  • 2005/2/13 19:16

  • solo71

  • Module Developer

  • Posts: 941

  • Since: 2003/1/29


Maybe there is something wrong with your server settings..? Could we know more about this ?


Login

Who's Online

244 user(s) are online (110 user(s) are browsing Support Forums)


Members: 0


Guests: 244


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits