What Do I Need To Change?

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Locked
URAN

What Do I Need To Change?

Post by URAN »

Previously, I installed CMSMS on my web-hosting at the it`s on folder.

Later, I bought a domain name and this folder became a web-site itself.

After that I changed configures and everything works and looks fine, till I tried to and new content... Exactly, I talking about adding external images into page. I mean pics not from "upload" folder, etc. Old pages, with external pics, are looks right, only if I not try to edit it.

As you know, normally link to external picture should look like this:




If I try to paste a new picture, after saving changes, the link will look like



I guess during installation there are some changes except I can see at config.php file.

Please, tell me what extra changes should I do.
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm

Re: What Do I Need To Change?

Post by calguy1000 »

Check the config.php, specifically the root_url and the uploads_url fields.  I'll bet your problems in there.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
jelle

Re: What Do I Need To Change?

Post by jelle »

I put my 2 eurocents on calguy :) This smells like a path issue. Unfortunately all paths are not gouped together so you can quickly edit them without missing one.
URAN

Re: What Do I Need To Change?

Post by URAN »

Huh... :-\

Any ideas?

Code: Select all

<?php

$config['dbms'] = 'mysql';
$config['db_hostname'] = 'localhost';
$config['db_username'] = '******';
$config['db_password'] = '******';
$config['db_name'] = '******';
$config['db_prefix'] = 'cms_';
$config['root_url'] = 'http://www.hondafit.ru';
$config['root_path'] = '/home/uran/public_html/fit';
$config['query_var'] = 'page';
$config['use_bb_code'] = false;
$config['use_smarty_php_tags'] = false;
$config['previews_path'] = '/home/uran/public_html/fit/tmp/cache';
$config['uploads_path'] = '/home/uran/public_html/fit/uploads';
$config['uploads_url'] = 'http://www.hondafit.ru/uploads';
$config['max_upload_size'] = 1000000;
$config['debug'] = false;
$config['assume_mod_rewrite'] = false;
$config['auto_alias_content'] = true;
$config['image_manipulation_prog'] = 'GD';
$config['image_transform_lib_path'] = '/usr/bin/ImageMagick/';
$config['use_Indite'] = false;
$config['image_uploads_path'] = '/home/uran/public_html/fit/uploads/images';
$config['image_uploads_url'] = 'http://www.hondafit.ru/uploads/images';
$config['default_encoding'] = '';
$config['disable_htmlarea_translation'] = false;
$config['admin_dir'] = 'admin';
$config['persistent_db_conn'] = true;
$config['default_upload_permission'] = '664';
$config['page_extension'] = '.html';
$config['locale'] = '';
$config['admin_encoding'] = 'utf-8';

?>
Last edited by URAN on Thu Mar 02, 2006 12:32 pm, edited 1 time in total.
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm

Re: What Do I Need To Change?

Post by calguy1000 »

Okay, so what are you doing to create these external links?
there doesn't seem to be anything off in your config.php
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
jelle

Re: What Do I Need To Change?

Post by jelle »

(ok this cost me 2 eurocents :)
What version of cmsms are you using?
Does it still happen if you select wysiwyg:none in your user preferences and edit the html directly? I suspect the alphabethsoup editor is eating your external links.
Can you post a html snippet before and after?
URAN

Re: What Do I Need To Change?

Post by URAN »

calguy1000 wrote: Okay, so what are you doing to create these external links?
there doesn't seem to be anything off in your config.php
To create external links links I copy prepared source code from my HTML editor. There is edited source code from another web, which contains images.
jelle wrote: What version of cmsms are you using?
I`m using last CMS Version 0.11.2
jelle wrote: Does it still happen if you select wysiwyg:none in your user preferences and edit the html directly? I suspect the alphabethsoup editor is eating your external links.
Can you post a html snippet before and after?
Good idea! If I turn off WYSIWYG editor in my profile, I can paste external links again! :) But... I did not found any settings to edit at this module. Maybe some settings are in my database?
jelle

Re: What Do I Need To Change?

Post by jelle »

You can change some config stuff for the alphabetsoup editor in fckconfig.js, but I cannot see something directly relating to your problem.
But since you appear to be the first one reporting this problem, I suspect it has something to do with the way your links are done. Again: please post a snippet that gets mangled if you want me or someone else to try to reporduce this on 0.12beta2 or svn.
URAN

Re: What Do I Need To Change?

Post by URAN »

jelle wrote: Again: please post a snippet that gets mangled if you want me or someone else to try to reporduce this on 0.12beta2 or svn.
I want to help, but, sorry, I`m not sure that I can understand what you asking me to do :( Snippet
of what should I post?
Locked

Return to “CMSMS Core”