Posted on: 04/05/05 12:00pm
By: Anonymous (Sandman77)
It is set CHMOD 777, still it doesnt save when I upload when creating a story.
I got no darn clue what to do! HELP!
Image wont save in images dir
Posted on: 04/05/05 12:48pm
By: ScurvyDawg
It is
public_html/images/articles and public_html/images/userphotos that you need to CHMOD not public_html/images/ ??
Image wont save in images dir
Posted on: 04/05/05 12:52pm
By: Sandman77
I have chmodded images 777 and articles 777
my images dir is however located not withing public_html/images
but instead in my website which is all public
:/
Image wont save in images dir
Posted on: 04/05/05 02:55pm
By: Dirk
Did you run the check.php script that came with Geeklog? What did it say?
bye, Dirk
Image wont save in images dir
Posted on: 04/05/05 03:27pm
By: Sandman77
Testing logs directory /hsphere/local/home/scolio/underverse.alienphobia.com/logs/ ...
logs directory and the error.log and access.log files are okay.
Testing backend directory /hsphere/local/home/scolio/underverse.alienphobia.com/public_html/backend/ ...
backend directory and the geeklog.rdf file are okay.
Testing userphotos directory /hsphere/local/home/scolio/underverse.alienphobia.com/public_html/images/userphotos/ ...
userphotos directory is okay.
Testing articles directory /hsphere/local/home/scolio/underverse.alienphobia.com/public_html/images/articles/ ...
articles directory is okay.
Testing data directory /hsphere/local/home/scolio/underverse.alienphobia.com/data/ ...
data directory is okay.
Results: 5 of 5 tests performed: 5 successful, 0 failed.
Image wont save in images dir
Posted on: 04/06/05 04:14am
By: Anonymous (Sandman77)
*bump*
Problem is when I user the story editor to upload an image it gives me no error message and the image is attached to the story. But when I look in the articles directory there is no image!!!
Image wont save in images dir
Posted on: 04/06/05 02:12pm
By: Dirk
I'm confused - you say your images directory is not in your public_html, but from the output of the check.php script it's obvious they are ...
Anyway, switch on the image upload debugging option in config.php, try again and check your error.log for any insights:
// Uncomment the following line if you experience problems with the image
// upload. Debug messages will be added to the error.log file.
// $_CONF['debug_image_upload'] = true;
bye, Dirk
Image wont save in images dir
Posted on: 04/07/05 04:56am
By: Anonymous (Sandman77)
Hi Dirk,
thanks for trying to help me. You see my public_html dir is seperate from where config.php is. Im thinking perhaps I should correct this too. I will try what you told me first though...
Thing is where config.php IS my web public dir by default from the server. So I didnt need a seperate public_html.
Image wont save in images dir
Posted on: 04/07/05 05:29am
By: Anonymous (Sandman77)
Ok debug showed no error.
I guess all I can do now is move all that is suposed to be in public_html dir into or not? Odd cause there is an images dir there chmodded 7777 too even the articles dir 7777 outta work too no?
Image wont save in images dir
Posted on: 04/07/05 02:55pm
By: Dirk
[QUOTE BY= Sandman77] Ok debug showed no error.[/QUOTE]
Well, I dare say that's impossible. There should either be an error or it should tell you were the images really end up. Check the paths from the log.
bye, Dirk
Image wont save in images dir
Posted on: 04/08/05 06:53am
By: Anonymous (Sandman77)
My error.log doesnt show anything but it image tries to be saved here:
http://underverse.alienphobia.com/images/articles/20050408125142598_1.gif
NOT in public_html for some reason...
Image wont save in images dir
Posted on: 04/08/05 07:11am
By: Anonymous (Sandman77)
Ok Dirk!
OK the problem is found!
It saves the file under public_html/images/articles
but calls it from /images/articles !!!
How can I change the code to fix this?
In story.php right? Where?
Image wont save in images dir
Posted on: 04/08/05 12:48pm
By: knuff
This looks like a path problem.
One thing I can think of is that you have two different config.php and so it seems to work, but this is caused by two different directories.
Make sure you only have one lib-common.php and one config.php in your complete site directory public and not public.
Once you are sure about that, do make sure your paths are really correct in config.php.
You really shouldn´t edit story.php !
Best Regards,
Boris
Image wont save in images dir
Posted on: 04/08/05 01:31pm
By: Anonymous (Sandman77)
Hi,
I have only one config.php and one libcommon.php...
I moved all the files from my default "Public" html dir to public_html, fixed it it configs in my mods etc. Now the images are found where they are at!
This is indeed a bug in case you do not call your public dir public_html and put the files in there you want public...
As the scripts tries to find the images automatically in public_html regarding whereever you wanted your images to be stored! Lame!
But hey it works!
Image wont save in images dir
Posted on: 04/08/05 01:34pm
By: Dirk
[QUOTE BY= Sandman77] This is indeed a bug in case you do not call your public dir public_html and put the files in there you want public...[/QUOTE]
No, it's not a bug. It's a case of not having read the installation instructions properly.
Btw, you should really have seen the image upload logged in your error.log. Are you sure that file is writable?
bye, Dirk
Image wont save in images dir
Posted on: 04/09/05 01:13pm
By: Anonymous (Sandman77)
check.php says so, and I know its chmodded 777 :/
When I install a mod it gets updated etc. Weird.