Page 2 of 2

Re: image upload error

Posted: Fri Oct 03, 2008 6:15 pm
by thomahawk
I must also mention that I could not store images in the "images" folder for use in templates. When I link to iimages there they dont show up. I had to do a new folder in "cms", then it worked....

Writing this, it made me think... I just did replace the existing "uploads" folder with a new folder, renaming and setting to 777, then the same with "uploads/images"... and VOILA! Now the images show up and can be edited. BUT the upload still does not work!!

Re: image upload error

Posted: Fri Oct 03, 2008 6:17 pm
by thomahawk
And by the way: Creating a new folder in "uploads" from the Image Manager works.

Re: image upload error

Posted: Fri Oct 03, 2008 9:09 pm
by alby
thomahawk wrote: _SERVER["SCRIPT_FILENAME"] /Applications/xampp/xamppfiles/htdocs/phpinfo.php

_SERVER["PHP_SELF"] /phpinfo.php

paths have all common /Applications/xampp/xamppfiles/htdocs
subfolder of htdocs will be /Applications/xampp/xamppfiles/htdocs/subfolder

urls have all common http://localhost/
subfolder of htdocs will be http://localhost/subfolder

If CMS in a sybfolder cms of /Applications/xampp/xamppfiles/htdocs

paths are:
/Applications/xampp/xamppfiles/htdocs/cms
/Applications/xampp/xamppfiles/htdocs/cms/uploads
/Applications/xampp/xamppfiles/htdocs/cms/uploads/images
/Applications/xampp/xamppfiles/htdocs/cms/modules
/Applications/xampp/xamppfiles/htdocs/cms/tmp

urls are:
http://localhost/cms
http://localhost/cms/uploads
http://localhost/cms/uploads/images

Alby

Re: image upload error

Posted: Sat Oct 04, 2008 7:50 am
by thomahawk
So I am at the beginning again. Yes, thats exactly how cmsms configures itself. Nevertheless upload doesn't work. Once I had tried cmsms 1.3, I remember it was the same problem there.

I will soon move the installation onto the external server. Will see if it works there.

Thomas

Re: image upload error

Posted: Sat Oct 04, 2008 9:53 am
by thomahawk
OK, I installed the whole thing on my providers server and the image upload is working there.

So I am shure we have a bug here. Why does image upload not work in XAMPP on a Mac? Maybe it is a XAMPP bug? I am wondering do other Mac OSX XAMPP users have the same problem? Would like to hear from them.

Thanks for the suggestions, Alby!

Regards,
Thomas

Re: image upload error

Posted: Sat Nov 08, 2008 1:13 pm
by morres
Hi,

I just read your post and have exactly the same problem in Mac OS X with XAMPP.

File & Picture upload won't work and the example logo won't show up in the control panel.

So far I couldn't figure out any solution.

Regards,

morres

Re: image upload error

Posted: Sat Nov 08, 2008 5:10 pm
by morres
Switched to MAMP instead of XAMPP and everything works fine.

Re: image upload error

Posted: Mon Nov 10, 2008 6:24 am
by thomahawk
I suppose it is a problem within XAMPP on Mac OSX. In the meantime I did 2 jobs with CMSMS and they went fine once I had all installed on the final external server.

This leads me to not develop with XAMPP anymore, because picture upload doesnt really work.

Thomas