In 1.11.2, Microtiny wrong image-path [solved in 1.11.3]
Posted: Tue Oct 16, 2012 11:33 am
Hi,
I made a clean install of 1.11.2
did some "design" very very basic.
Made a few pages.
Now if I open a page in Microtiny and I want to load an image it shows the popup-window, I can select an image from directory /uploads/images if I click on insert the place-holder is there but no image.
Checking the HTML then I find
<img src="http:/www2/uploads/images/zoekknop.png" alt="" />
It should be
<img src="http:/www.versicherungsagentur-stadler.at/uploads/images/zoekknop.png" alt="" />
I run the site in a subdirectory www2 on the host.
I changed the config.php to
I cleared the cache but I still get the same problem.
Where is this URL produced?
And how do I change it?
[edit]
The following PHP-error is in the logging, double www2
[edit 2]
De-installing Microtiny and installing again does not work.
Installing TinyMCE and changing to TinyMCE works.
Another clean-install does not have this problem.
Kind regards,
Jan
I made a clean install of 1.11.2
did some "design" very very basic.
Made a few pages.
Now if I open a page in Microtiny and I want to load an image it shows the popup-window, I can select an image from directory /uploads/images if I click on insert the place-holder is there but no image.
Checking the HTML then I find
<img src="http:/www2/uploads/images/zoekknop.png" alt="" />
It should be
<img src="http:/www.versicherungsagentur-stadler.at/uploads/images/zoekknop.png" alt="" />
I run the site in a subdirectory www2 on the host.
I changed the config.php to
Code: Select all
<?php
# CMS Made Simple Configuration File
# Documentation: /doc/CMSMS_config_reference.pdf
#
$config['dbms'] = 'mysqli';
$config['db_hostname'] = 'localhost';
$config['db_username'] = 'database-user with right name';
$config['db_password'] = 'the fitting password';
$config['db_name'] = 'the fitting database name';
$config['db_prefix'] = 'cms_';
$config['timezone'] = 'Europe/Vienna';
$config['php_memory_limit'] = '';
$config['process_whole_template'] = false;
$config['debug'] = false;
$config['output_compression'] = false;
$config['db_port'] = 0;
$config['persistent_db_conn'] = 'true';
$config['use_adodb_lite'] = true;
$config['root_url'] = 'http://www.versicherungsagentur-stadler.at';
$config['ssl_url'] = 'https://www.versicherungsagentur-stadler.at';
$config['root_path'] = '/is/htdocs/wp10566801_82DASFO894/www2';
$config['admin_dir'] = 'admin';
$config['previews_path'] = '/is/htdocs/wp10566801_82DASFO894/www2/tmp/cache';
$config['uploads_path'] = '/is/htdocs/wp10566801_82DASFO894/www2/uploads';
$config['uploads_url'] = 'http://www.versicherungsagentur-stadler.at/uploads';
$config['max_upload_size'] = 8000000;
$config['default_upload_permission'] = '664';
$config['use_smarty_php_tags'] = false;
$config['auto_alias_content'] = true;
$config['url_rewriting'] = 'none';
$config['page_extension'] = '';
$config['query_var'] = 'page';
$config['image_manipulation_prog'] = 'GD';
$config['image_transform_lib_path'] = '/usr/bin/ImageMagick/';
$config['image_uploads_path'] = '/is/htdocs/wp10566801_82DASFO894/www2/uploads/images';
$config['image_uploads_url'] = 'http://www.versicherungsagentur-stadler.at/uploads/images';
$config['ssl_uploads_url'] = '/uploads';
$config['locale'] = 'de_DE.utf8';
$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';
?>
Where is this URL produced?
And how do I change it?
[edit]
The following PHP-error is in the logging, double www2
Code: Select all
[Tue Oct 16 11:07:08 2012] [error] [client 212.89.171.111] File does not exist: /is/htdocs/wp10566801_82DASFO894/www2/www2, referer: http://www.versicherungsagentur-stadler.at/admin/moduleinterface.php?mact=MicroTiny,,filepicker,0&_sx_=d5d1c64d&type=image&showtemplate=false
De-installing Microtiny and installing again does not work.
Installing TinyMCE and changing to TinyMCE works.
Another clean-install does not have this problem.
Kind regards,
Jan