Helo!
I'm having some trouble setting up this CMSMS page. I made a few pages based on CMSMS but i have some problems with this one. When I finsih installation there is simply no pictures displayed on main page: http://lab.fs.uni-lj.si/lat/temp/ just text and some colour. The server suports everything CMSMS need's, except Safe Mode ans some session.save_path thingy. Where should i look for a problem. Somethong with root configuration or server settings?
Thank you for your help in advance!
Miha P.
After normal installation there is no graphics on main page. [SOLVED]
After normal installation there is no graphics on main page. [SOLVED]
Last edited by Pepsy on Thu Mar 25, 2010 2:52 pm, edited 1 time in total.
Re: After normal installation there is no graphics on main page.
We need much, much more information.
First of all, did you move your cmsms installation around? Looks like you did.
Secondly, post here your config.php with database password deleted.
It also looks like you might have deleted the /uploads folder.
Anyways, most of the time path problems are found in config.php which, along with cache, must be updated after every path (filesystem) change.
First of all, did you move your cmsms installation around? Looks like you did.
Secondly, post here your config.php with database password deleted.
It also looks like you might have deleted the /uploads folder.
Anyways, most of the time path problems are found in config.php which, along with cache, must be updated after every path (filesystem) change.
Re: After normal installation there is no graphics on main page.
No i didn't move my installation around. It was copied and installed in the /temp folder from the begining. Here is config.php. Also upload folder exists when i login via ftp.
Thank you for you're help in advance!
Code: Select all
<?php
$config['php_memory_limit'] = '';
$config['process_whole_template'] = false;
$config['debug'] = false;
$config['output_compression'] = false;
$config['dbms'] = '***';
$config['db_hostname'] = '***';
$config['db_username'] = '***';
$config['db_name'] = '***';
$config["db_port"] = '***';
$config['db_prefix'] = 'cms_';
$config['persistent_db_conn'] = false;
$config['use_adodb_lite'] = true;
$config['root_url'] = 'http://lab.fs.uni-lj.si/lat/temp';
if(isset($_SERVER['HTTPS']) && $_SERVER['HTTPS']=='on')
{
$config['root_url'] = str_replace('http','https',$config['root_url']);
}
$config['root_path'] = '/laboratoriji/lat/temp';
$config['admin_dir'] = 'admin';
$config['previews_path'] = '/laboratoriji/lat/temp/tmp/cache';
$config['uploads_path'] = '/laboratoriji/lat/temp/uploads';
$config['uploads_url'] = $config['root_url'] . '/uploads';
$config['max_upload_size'] = 100000000;
$config['default_upload_permission'] = '664';
$config['use_smarty_php_tags'] = false;
$config['auto_alias_content'] = true;
$config['url_rewriting'] = 'none';
$config['page_extension'] = '';
$config['use_hierarchy'] = true;
$config['query_var'] = 'page';
$config['image_manipulation_prog'] = 'GD';
$config['image_transform_lib_path'] = '/usr/bin/ImageMagick/';
$config['image_uploads_path'] = '/laboratoriji/lat/temp/uploads/images';
$config['image_uploads_url'] = $config['root_url'] . '/uploads/images';
$config['locale'] = '';
$config['default_encoding'] = 'utf-8';
$config['admin_encoding'] = 'utf-8';
$config['set_names'] = true;
$config['wiki_url'] = 'http://wiki.cmsmadesimple.org/index.php/User_Handbook/Admin_Panel';
?>
Last edited by Pepsy on Wed Mar 24, 2010 3:54 pm, edited 1 time in total.
Re: After normal installation there is no graphics on main page.
$config['root_path'] = '/laboratoriji/lat/temp';
This is incorrect. Call your hosting. It is much longer than this normally.
This is incorrect. Call your hosting. It is much longer than this normally.
Re: After normal installation there is no graphics on main page.
OK!
Thank you very much. I will send them a e-mail. But i don't understand why Admin panel works with no problems.
Thank you very much. I will send them a e-mail. But i don't understand why Admin panel works with no problems.
Re: After normal installation there is no graphics on main page.
Well they say that this setting is OK. If i change root_path to something else than the page crashes completly. So i guess this isn't the problem. Is there anything else i could do?
p.s.: The funny thin is also that if i type in explorer: http://lab.fs.uni-lj.si/lat/temp/uploads i get an error: The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there was an error in a CGI script. Witch doesen't happen on my other cmsms sites.
Thank you!
p.s.: The funny thin is also that if i type in explorer: http://lab.fs.uni-lj.si/lat/temp/uploads i get an error: The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there was an error in a CGI script. Witch doesen't happen on my other cmsms sites.
Thank you!
Last edited by Pepsy on Thu Mar 25, 2010 11:38 am, edited 1 time in total.
Re: After normal installation there is no graphics on main page.
Ok i find the problem!
In /uploads i had .htaccess file that restricted acsess with: deny from all
Now problem is solved! :D
In /uploads i had .htaccess file that restricted acsess with: deny from all
Now problem is solved! :D