Koozali.org: home of the SME Server

Cant upload files in mamboserver

James Douglas

Cant upload files in mamboserver
« on: November 13, 2002, 04:44:18 PM »
anyone have any ideas? dont think its a php issue bec i can upload fine through webamil interface....



btw im running 4.0beta, and Ive chmodded the appropriate folders to 777 i believe

Chaloner Hale

Re: Cant upload files in mamboserver
« Reply #1 on: November 13, 2002, 08:14:23 PM »
Are you installed in an ibay or primary?

One thing I noticed in configuration.php is;

$live_site = 'http://www.chaloner.ca/mambo/'; - must end with a slash

Also;

$pdf_path = '/home/e-smith/files/ibays/mambo/html/pdf/'; - must end with a slash

Check your main directory for files you may have uploaded, you may find them there. i.e. If you were uploading test.doc then look for pdftest.doc.

I have it working well, it took about 5 minutes.


CHaloner Hale

john

Re: Cant upload files in mamboserver
« Reply #2 on: November 13, 2002, 09:00:56 PM »
you may also want to look in the php.ini

 ; Whether to allow HTTP file uploads.
file_uploads = On

James Douglas

Re: Cant upload files in mamboserver
« Reply #3 on: November 14, 2002, 03:31:26 AM »
thx ill check out the trailing slash. think php.ini is ok bec webmail can upload no prob.

Bob Todd

Re: Cant upload files in mamboserver
« Reply #4 on: November 14, 2002, 04:16:33 AM »
of course you also chown'd the folders to www as well didnt you? If not then as I understand it Apache cant write to them, for my own test of mambo I installed in a dir /opt/mambo which I then set to chown www:www and chmod 775, I then repeated this for the files and folders within the mambo dir. Everything seemed to work okay apart from when I view the images in the "gallery" I only get outline boxes and dont see the image contained. Uploading seems to function ok.

All I need now is some time and an expert in configuring mambo :-)

James Douglas

Re: Cant upload files in mamboserver
« Reply #5 on: November 16, 2002, 03:28:20 AM »
well Bob i tried what you suggested and no workie still!

under admin when i click gallery no matter what i click i get there are no images to be displayed..almost like its looking at the wrong directory or permissions errors like u suggested before...maybe ill have to post my configuration.php file to compare with yours...for the record im in a ibay called mambo4

so my paths as i remember are /home/e-smith/files/ibays/mambo4/images etc.

Chaloner Hale

Re: Cant upload files in mamboserver
« Reply #6 on: December 03, 2002, 10:31:53 PM »
Your path "/home/e-smith/files/ibays/mambo4/images" should be
"/home/e-smith/files/ibays/mambo4/html/images"

Also a new version was released on the weekend. Have a look....

I do not use any included install as I do it all manually.

mysqladmin create mambo
mysql mambo < themambosqlfile.sql

I then run mysql and enter;

grant all on mambo.* to mambouser@localhost identified by 'mambopwd";

I found that if installed in an iBay you must reset the PHPbasedir. Use something like;

# /sbin/e-smith/db accounts setprop mambo PHPBaseDir /
# /sbin/e-smith/signal-event ibay-modify mambo

All you then need to do is edit the configuration.php and change the obvious values.




Chaloner Hale

Chaloner Hale

Re: Cant upload files in mamboserver
« Reply #7 on: December 03, 2002, 10:36:22 PM »
Let me in with SSH and you can time me. I am confident within 5 minutes you will have it working.

Chaloner Hale