Upload Module - errors for user and admin
Posted: Thu Sep 10, 2009 12:53 pm
I installed the upload module yesterday and thought I had it looking nice. All I want is for them to upload photos. The code I am using on the form page is:
When I try to upload a photo, I get these errors.
I can upload a photo fine from the admin control panel. I get email notification of the upload. When I go to edit a photo or click on its name, I get these errors:
An aside: how do I ask the upload module to put the photos in uploads/images/photos instead of uploads/photos?
Also, I noticed that while all other files/dirs are owned by "root," the 'photos' dir that I made with the upload module is owned by "Apache." I changed it but no change in errors. Just something I noticed. I would rather have everything owned by "root."
Thanks for any ideas or help.
Code: Select all
{cms_module module="Uploads" category="photos" mode="upload" noauthor="0" file_extensions=".jpg,.gif.,png" prefix="1"} ------------------------------------------------------------------------------Fatal error: Cannot access private property Uploads::$upload_extensions in /modules/Uploads/functions.common_tools.php on line 51
I can upload a photo fine from the admin control panel. I get email notification of the upload. When I go to edit a photo or click on its name, I get these errors:
------------------------------------------------------------------------------Notice: Undefined variable: gCms in /modules/Uploads/Uploads.module.php on line 1080
Fatal error: Call to a member function GetConfig() on a non-object in /modules/Uploads/Uploads.module.php on line 1080
An aside: how do I ask the upload module to put the photos in uploads/images/photos instead of uploads/photos?
Also, I noticed that while all other files/dirs are owned by "root," the 'photos' dir that I made with the upload module is owned by "Apache." I changed it but no change in errors. Just something I noticed. I would rather have everything owned by "root."
Thanks for any ideas or help.