Fresh install 2.1.3 into subdirectory gives wrong links

Help with getting the CMS CORE package up and running. This does not include 3rd party modules, PHP scripts, anything downloaded via module manager or from any external source.
Locked
User avatar
paulbaker
Dev Team Member
Dev Team Member
Posts: 1465
Joined: Sat Apr 18, 2009 10:09 pm
Location: Maidenhead, UK
Contact:

Fresh install 2.1.3 into subdirectory gives wrong links

Post by paulbaker »

2.1.3 fresh install into a subdirectory, not root. To install I uploaded the cmsms-2.1.3-install.zip file, unzipped it on the server and ran the cmsms-2.1.3-install.php file.

Installation went normally. At the end I see
We are done! You can now visit your website or login to the CMSMS admin panel.
install.jpg
"visit your website" links to "http://www.example.com/ instead of "http://www.example.com/beta/

"CMSMS admin panel" links to "http://www.example.com/admin/ instead of "http://www.example.com/beta/admin/

Same error as reported here:
http://forum.cmsmadesimple.org/viewtopi ... 84&t=70198

----------------------------------------------
Cms Version: 2.1.3
Installed Modules:
AdminSearch: 1.0.1
CMSContentManager: 1.1
DesignManager: 1.1.1
FileManager: 1.5.2
MicroTiny: 2.0.3
ModuleManager: 2.0.2
Navigator: 1.0.3
News: 2.50.5
Search: 1.50.2

Config Information:
php_memory_limit:
max_upload_size: 32000000
url_rewriting: none
page_extension:
query_var: page
auto_alias_content: true
locale:
set_names: true
timezone: Europe/London
permissive_smarty: false

Php Information:
phpversion: 5.5.30
md5_function: On (True)
json_function: On (True)
gd_version: 2
tempnam_function: On (True)
magic_quotes_runtime: Off (False)
E_ALL: 22519
E_STRICT: 0
E_DEPRECATED: 0
test_file_timedifference: No time difference found
test_db_timedifference: No time difference found
create_dir_and_file: 1
memory_limit: 128M
max_execution_time: 120
register_globals: Off (False)
output_buffering: 4096
disable_functions:
open_basedir:
test_remote_url: Success
file_uploads: On (True)
post_max_size: 8M
upload_max_filesize: 32M
session_save_path: /tmp (1777)
session_use_cookies: On (True)
xml_function: On (True)
xmlreader_class: On (True)
check_ini_set: On (True)
curl: On

Performance Information:
allow_browser_cache: Off (False)
browser_cache_expiry: 60
php_opcache: Off (False)
smarty_cache: Off (False)
smarty_compilecheck: Off (False)
smarty_cache_udt: Off (False)
auto_clear_cache_age: On (True)
Server Information:
Server Software: Apache
Server Api: cgi-fcgi
Server Os: Linux 2.6.18-471.3.1.el5.lve0.8.72 On x86_64
Server Db Type: MySQL (mysqli)
Server Db Version: 5.5.49
Server Db Grants: Found a "GRANT ALL" statement that appears to be suitable

Permission Information:
tmp: /home/cthuk/public_html/***/tmp (0755)
tmp_cache: /home/cthuk/public_html/***/tmp/cache (0755)
templates_c: /home/cthuk/public_html/***/tmp/templates_c (0755)
modules: /home/cthuk/public_html/***/modules (0755)
uploads: /home/cthuk/public_html/***/uploads (0755)
File Creation Mask (umask): /home/cthuk/public_html/***/tmp/cache (0755)
config_file: 0444
----------------------------------------------
To copy System Information to the forum:
https://docs.cmsmadesimple.org/troubles ... nformation

CMS Made Simple Geekmoots attended:
Nottingham, UK 2012 | Ghent, Belgium 2015 | Leicester, UK 2016
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12709
Joined: Thu Mar 09, 2006 5:32 am
Location: Arizona

Re: Fresh install 2.1.3 into subdirectory gives wrong links

Post by Dr.CSS »

Do you have an htaccess file in your root or use one in your subfolder..?
User avatar
velden
Dev Team Member
Dev Team Member
Posts: 3484
Joined: Mon Nov 28, 2011 9:29 am
Location: The Netherlands

Re: Fresh install 2.1.3 into subdirectory gives wrong links

Post by velden »

Dr.CSS wrote:Do you have an htaccess file in your root or use one in your subfolder..?
.htaccess won't mess with the actual links I'm not 100% sure regarding the installer, so check it anyway.
User avatar
velden
Dev Team Member
Dev Team Member
Posts: 3484
Joined: Mon Nov 28, 2011 9:29 am
Location: The Netherlands

Re: Fresh install 2.1.3 into subdirectory gives wrong links

Post by velden »

I did a test install but can't reproduce this issue. Must be different configuration.

Maybe you do want to check a .htaccess in the root folder, like Dr.CSS suggested, after all.
Locked

Return to “[locked] Installation, Setup and Upgrade”