image upload error

Help with getting the CMS CORE package up and running. This does not include 3rd party modules, PHP scripts, anything downloaded via module manager or from any external source.
User avatar
thomahawk
Power Poster
Power Poster
Posts: 312
Joined: Fri Jul 25, 2008 10:13 am

Re: image upload error

Post 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!!
User avatar
thomahawk
Power Poster
Power Poster
Posts: 312
Joined: Fri Jul 25, 2008 10:13 am

Re: image upload error

Post by thomahawk »

And by the way: Creating a new folder in "uploads" from the Image Manager works.
alby

Re: image upload error

Post 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
User avatar
thomahawk
Power Poster
Power Poster
Posts: 312
Joined: Fri Jul 25, 2008 10:13 am

Re: image upload error

Post 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
User avatar
thomahawk
Power Poster
Power Poster
Posts: 312
Joined: Fri Jul 25, 2008 10:13 am

Re: image upload error

Post 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
morres
New Member
New Member
Posts: 2
Joined: Sat Nov 08, 2008 1:05 pm

Re: image upload error

Post 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
morres
New Member
New Member
Posts: 2
Joined: Sat Nov 08, 2008 1:05 pm

Re: image upload error

Post by morres »

Switched to MAMP instead of XAMPP and everything works fine.
User avatar
thomahawk
Power Poster
Power Poster
Posts: 312
Joined: Fri Jul 25, 2008 10:13 am

Re: image upload error

Post 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
Locked

Return to “[locked] Installation, Setup and Upgrade”