Page 1 of 1
After normal installation there is no graphics on main page. [SOLVED]
Posted: Wed Mar 24, 2010 2:39 pm
by Pepsy
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.
Re: After normal installation there is no graphics on main page.
Posted: Wed Mar 24, 2010 3:06 pm
by replytomk3
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.
Re: After normal installation there is no graphics on main page.
Posted: Wed Mar 24, 2010 3:48 pm
by Pepsy
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.
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';
?>
Thank you for you're help in advance!
Re: After normal installation there is no graphics on main page.
Posted: Wed Mar 24, 2010 3:49 pm
by replytomk3
$config['root_path'] = '/laboratoriji/lat/temp';
This is incorrect. Call your hosting. It is much longer than this normally.
Re: After normal installation there is no graphics on main page.
Posted: Wed Mar 24, 2010 3:57 pm
by Pepsy
OK!
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.
Posted: Thu Mar 25, 2010 11:32 am
by Pepsy
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!
Re: After normal installation there is no graphics on main page.
Posted: Thu Mar 25, 2010 2:50 pm
by Pepsy
Ok i find the problem!
In /uploads i had .htaccess file that restricted acsess with: deny from all
Now problem is solved! :D