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.
planegoofy
Post
by planegoofy » Fri Mar 01, 2013 12:42 am
I recently upgraded from 1.10.3 to 1.11.4 and am now having a problem with Filemanager module. It doesn't show the uploads dirrectory when you go to the module, it says "current path: ploads". If I turn on advanced mode, it shows the admin home directory but I cannot go into any of the subdirectories. Below is the pertinent section of my config php:
Code: Select all
$config['uploads_path'] = '/home/abcdwny/public_html/uploads';
$config['uploads_url'] = 'http://www.abcdwny.org/uploads';
$config['default_upload_permission'] = '664';
$config['use_smarty_php_tags'] = '';
$config['auto_alias_content'] = true;
$config['url_rewriting'] = 'mod_rewrite';
$config['page_extension'] = '.html';
$config['query_var'] = 'page';
$config['image_manipulation_prog'] = 'GD';
$config['image_transform_lib_path'] = '/usr/bin/ImageMagick/';
$config['image_uploads_path'] = '/home/abcdwny/public_html/uploads/images';
$config['image_uploads_url'] = 'http://www.abcdwny.org/uploads';
$config['ssl_uploads_url'] = '/uploads';
Installed Modules:
CMSMailer 5.2.1
FileManager 1.4.3
MenuManager 1.8.5
ModuleManager 1.5.5
News 2.12.10
Printing 1.1.2
Search 1.7.7
ThemeManager 1.1.7
TinyMCE 2.9.12
CGExtensions 1.31.4
Album 0.9.3
JQueryTools 1.2.4
FrontEndUsers 1.21.2
CGPaymentGatewayBase 1.1
Captcha 0.4.5
annualbridgeaward 1.1
FileBackup 0.5
Lytebox 0.3.1beta1
CGSimpleSmarty 1.5.3
Uploads 1.14.4
Products 2.18.4
PaypalGateway 2.3.9
Orders 1.13.3
Banners 2.6
Cart 1.8.4
CGUserDirectory 1.3
SelfRegistration 1.7.4
LinkMgr 1.5.1
CTLModuleMaker 2.0.3
golfscholarship 0.2
golftournament 0.1
CGEcommerceBase 1.3.11
CMSExcel 0.0.1
Gallery 1.6
CGFeedMaker 1.0.17
CGExtensions 1.31.4
FrontEndUsers 1.21.2
CustomContent 1.8.3
Captcha 0.4.5
CGFeedMaker 1.0.17
CompanyDirectory 1.17.3
NMS 2.7.2
CGPaymentGatewayBase 1.1
SelfRegistration 1.7.4
MysqlDump 1.2.4
CMSPrinting 1.0.3
MicroTiny 1.2.5
CGCalendar 1.10.2
ModuleMaker 0.3.2
CGJobMgr
PHP: 5.2.17
Mysql: 5.5.30
All help is appreciated, let me know if I need to give any additional info.
Last edited by planegoofy on Fri Mar 01, 2013 1:40 pm, edited 1 time in total.
staartmees
Power Poster
Posts: 1049 Joined: Wed Mar 19, 2008 4:54 pm
Post
by staartmees » Fri Mar 01, 2013 7:18 am
disable the uploads as below
Code: Select all
# $config['uploads_path'] = '/home/abcdwny/public_html/uploads';
# $config['uploads_url'] = 'http://www.abcdwny.org/uploads';
$config['default_upload_permission'] = '664';
$config['use_smarty_php_tags'] = '';
$config['auto_alias_content'] = true;
$config['url_rewriting'] = 'mod_rewrite';
$config['page_extension'] = '.html';
$config['query_var'] = 'page';
$config['image_manipulation_prog'] = 'GD';
$config['image_transform_lib_path'] = '/usr/bin/ImageMagick/';
# $config['image_uploads_path'] = '/home/abcdwny/public_html/uploads/images';
# $config['image_uploads_url'] = 'http://www.abcdwny.org/uploads';
$config['ssl_uploads_url'] = '/uploads';
planegoofy
Post
by planegoofy » Fri Mar 01, 2013 1:38 pm
Well that worked! Thanks for the quick reply staartmees! Everything is working properly now!
seanus
Forum Members
Posts: 17 Joined: Fri Oct 07, 2011 4:26 am
Post
by seanus » Mon Mar 11, 2013 10:52 pm
staartmees wrote: disable the uploads as below
Code: Select all
# $config['uploads_path'] = '/home/abcdwny/public_html/uploads';
# $config['uploads_url'] = 'http://www.abcdwny.org/uploads';
$config['default_upload_permission'] = '664';
$config['use_smarty_php_tags'] = '';
$config['auto_alias_content'] = true;
$config['url_rewriting'] = 'mod_rewrite';
$config['page_extension'] = '.html';
$config['query_var'] = 'page';
$config['image_manipulation_prog'] = 'GD';
$config['image_transform_lib_path'] = '/usr/bin/ImageMagick/';
# $config['image_uploads_path'] = '/home/abcdwny/public_html/uploads/images';
# $config['image_uploads_url'] = 'http://www.abcdwny.org/uploads';
$config['ssl_uploads_url'] = '/uploads';
I recently had the same problem and this fix helped heaps. Just for my own curiosity why does this work? Should the paths be defined?
Dr.CSS
Moderator
Posts: 12711 Joined: Thu Mar 09, 2006 5:32 am
Post
by Dr.CSS » Tue Mar 12, 2013 9:59 pm
This is from a fresh 1.11.* config.php, it is all it needs now...
<?php
# CMS Made Simple Configuration File
# Documentation: /doc/CMSMS_config_reference.pdf
#
$config['dbms'] = 'mysqli';
$config['db_hostname'] = 'localhost';
$config['db_username'] = '*******';
$config['db_password'] = '******';
$config['db_name'] = '******';
$config['db_prefix'] = 'cms_';
$config['timezone'] = 'America/Chicago';
?>