My local url's for CMS MS are full of '///////////' ...

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.
Post Reply
sarah_h
Forum Members
Forum Members
Posts: 189
Joined: Tue Apr 25, 2006 8:30 am

My local url's for CMS MS are full of '///////////' ...

Post by sarah_h »

Hi All,

I'm new here and I hope you can help. I'm running CMS MS version 0.12.1 with PHP 4.3.8 and MySQL 3.23.

I installed CMS MS fine and all went to plan. When I use certain items in the admin though I see this error:
Forbidden
You don't have permission to access /application_sites\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\CMS_Simple\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\/admin/login.php on this server.

Apache/1.3.27 Server at localhost Port 80
It happens when I try to log out, for example, or move a page up or down in the order. Things still seem to work i.e. if I move the order of a page I get the error above but when I click back the page has indeed moved! I'm thinking this could be a configuration problem but I'm not sure so any help would be appriciated.

BTW my server address is http://localhost/ and the folder CMSMS is sitting in is application_sites/CMS_Simple

Actually, it may help if I included my config.php
$config['dbms'] = 'mysql';
$config['db_hostname'] = 'localhost';
$config['db_username'] = '*****';
$config['db_password'] = '*******';
$config['db_name'] = 'cmsms';
$config['db_prefix'] = 'cms_';
$config['root_url'] = 'http://localhost/application_sites/CMS_Simple/';
$config['root_path'] = 'c:\program files\apache group\apache\htdocs\application_sites\cms_simple';
$config['query_var'] = 'page';
$config['use_bb_code'] = false;
$config['use_smarty_php_tags'] = false;
$config['previews_path'] = 'c:\program files\apache group\apache\htdocs\application_sites\cms_simple/tmp/cache';
$config['uploads_path'] = 'c:\program files\apache group\apache\htdocs\application_sites\cms_simple/uploads';
$config['uploads_url'] = 'http://localhost/application_sites/CMS_Simple//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'] = 'c:\\program files\\apache group\\apache\\htdocs\\application_sites\\cms_simple/uploads/images';
$config['image_uploads_url'] = 'http://localhost/application_sites/CMS_ ... ads/images';
$config['default_encoding'] = '';
$config['disable_htmlarea_translation'] = false;
$config['admin_dir'] = 'admin';
$config['persistent_db_conn'] = false;
$config['default_upload_permission'] = '664';
$config['page_extension'] = '.html';
$config['use_adodb_lite'] = true;
$config['locale'] = '';
$config['admin_encoding'] = 'utf-8';

Thanks

Sarah
Ted
Power Poster
Power Poster
Posts: 3329
Joined: Fri Jun 11, 2004 6:58 pm

Re: My local url's for CMS MS are full of '///////////' ...

Post by Ted »

For some reason, you have a double slash.

Code: Select all

$config['root_url'] = 'http://localhost/application_sites/CMS_Simple/';
should be

Code: Select all

$config['root_url'] = 'http://localhost/application_sites/CMS_Simple';

Code: Select all

$config['uploads_url'] = 'http://localhost/application_sites/CMS_Simple//uploads';
should be

Code: Select all

$config['uploads_url'] = 'http://localhost/application_sites/CMS_Simple/uploads';

Code: Select all

$config['image_uploads_url'] = 'http://localhost/application_sites/CMS_Simple//uploads/images';
should be

Code: Select all

$config['image_uploads_url'] = 'http://localhost/application_sites/CMS_Simple/uploads/images';
See if that helps...
sarah_h
Forum Members
Forum Members
Posts: 189
Joined: Tue Apr 25, 2006 8:30 am

Re: My local url's for CMS MS are full of '///////////' ...

Post by sarah_h »

Thanks Ted, I've carried out the changes you listed and it seems to have worked. Not sure where those double slashes came from. Anyway I'll keep my eye on it.

Thanks

Sarah
Ted
Power Poster
Power Poster
Posts: 3329
Joined: Fri Jun 11, 2004 6:58 pm

Re: My local url's for CMS MS are full of '///////////' ...

Post by Ted »

The installer uses variables that come from the webserver, which are notorious for not being consistent amongst all versions.  Chances are that it's just putting out a weird version of some particular variable that's throwing the installer off.

Glad that fixed it.
sarah_h
Forum Members
Forum Members
Posts: 189
Joined: Tue Apr 25, 2006 8:30 am

Re: My local url's for CMS MS are full of '///////////' ...

Post by sarah_h »

Hi Ted,

I spoke too soon! But I've noticed that:

1. It does not happen in IE6, just FF

2. FF urls start ok with just a couple of %5C's but the more I use the admin the more slashes (%5C's) are added.

It's really weird and so I'm using IE6 for performing admin functions! I'd rather not though.
Post Reply

Return to “CMSMS Core”