Page 2 of 3
Re: Upgrading from 1.6.3
Posted: Mon Oct 19, 2015 7:20 pm
by stevenryals
I will check.. I think i forgot to chg that back when I remigrated the database.. Thanks..
EDIT: That did it.. Thank you guys so much for your quick help.. It was invaluable today.

will mark solved
Re: [SOLVED] Upgrading from 1.6.3
Posted: Mon Oct 19, 2015 8:26 pm
by stevenryals
Ah heck.. even though my .htaccess matches the previous server and was created during the upgrade process, my mod rewrite url's aren't working..
The server can not find the requested page:
.................../Cruises (port 80)
Re: [SOLVED] Upgrading from 1.6.3
Posted: Mon Oct 19, 2015 9:15 pm
by Jo Morg
stevenryals wrote:even though my .htaccess matches the previous server and was created during the upgrade process, my mod rewrite url's aren't working
Is CMSMS installed on a sub-dir inside the main domain?
Re: [SOLVED] Upgrading from 1.6.3
Posted: Tue Oct 20, 2015 11:31 am
by stevenryals
NO, its not.
Since this is a transition, I can still see the old version live on the old server. It works fine.. new version, not so much..
Also, the CSS now doesnt work with chrome/safari.. where the old version did, the new version is not compaitble with all browsers.
how is this possible and what can I do to fix?
Re: Upgrading from 1.6.3 (still some css & addressing issue
Posted: Tue Oct 20, 2015 12:38 pm
by Jo Morg
stevenryals wrote:Since this is a transition, I can still see the old version live on the old server. It works fine.. new version, not so much..
Did you clear CMSMS cache? It's a good practice to clear before moving and then again after moving, on the new location.
Re: Upgrading from 1.6.3 (still some css & addressing issue
Posted: Tue Oct 20, 2015 12:59 pm
by stevenryals
yes, tmp/cache was clear as well as templates_c
Re: Upgrading from 1.6.3 (still some css & addressing issue
Posted: Tue Oct 20, 2015 1:08 pm
by Jo Morg
We need much more info than what you are providing. Please post the system info of both installations, there are probably differences on the host environments, look at the PHP error logs and paste the errors here, and give us as much information as you can. Otherwise we can only guess...
(click on the link: Before Asking For Help! on my sig)
Re: Upgrading from 1.6.3 (still some css & addressing issue
Posted: Tue Oct 20, 2015 1:28 pm
by stevenryals
New Installation:
Code: Select all
CMS Version 1.12.1
Installed Modules
FileManager 1.4.5
MenuManager 1.8.7
ThemeManager 1.1.8
News 2.15.2
Printing 1.1.2
Search 1.7.13
ModuleManager 1.3.1
TinyMCE 2.8.4
CMSMailer 5.2.2
CGExtensions 1.17.2
NMS 2.2.2
FormBuilder 0.6b2
FormBrowser 0.3b2
CGSimpleSmarty 1.4.3
Album 0.9.3
Blogs 0.3.3.1
JQueryTools 1.0.5
CMSPrinting 1.0.5
MicroTiny 1.2.9
CMS Config Settings
php_memory_limit
process_whole_template
max_upload_size 1024000000
url_rewriting none
page_extension
query_var page
image_manipulation_prog GD
auto_alias_content true
locale
default_encoding utf-8
admin_encoding utf-8
set_names true
debug false
timezone
set_names true
set_names
root_url http://dallas137.arvixeshared.com/~ucruise
ssl_url https://dallas137.arvixeshared.com/~ucruise
root_path Success /home/ucruise/public_html (0750)
previews_path Success /home/ucruise/public_html/tmp/cache (0755)
uploads_path Success /home/ucruise/public_html/uploads (0755)
uploads_url http://dallas137.arvixeshared.com/~ucruise/uploads
image_uploads_path Success /home/ucruise/public_html/uploads/images (0755)
image_uploads_url http://dallas137.arvixeshared.com/~ucruise/uploads/images
ssl_uploads_url https://dallas137.arvixeshared.com/~ucruise/uploads
use_smarty_php_tags false
PHP Information
Current PHP Version (phpversion) Success 5.5.30
md5 function (md5_function) Success On (True)
GD version (gd_version) Success 2
tempnam function (tempnam_function) Success On (True)
Magic quotes in runtime (magic_quotes_runtime) Success Off (False)
Is E_STRICT disabled in error_reporting (E_STRICT) Caution E_STRICT is enabled in the error_reporting
Is E_DEPRECATED disabled in error_reporting (E_DEPRECATED) Success
PHP Effective Memory Limit (memory_limit) Success 256M
Maximum Execution Time (max_execution_time) Success 300
PHP output_buffering (output_buffering) Success 4096
PHP Safe Mode (safe_mode) Success Off (False)
File uploads (file_uploads) Success On (True)
Maximum Post Size (post_max_size) Success 1024M
Maximum Upload Size (upload_max_filesize) Success 1024M
Session Save Path (session_save_path) Success /tmp (1777)
Sessions are allowed to use Cookies (session_use_cookies) Success On (True)
Basic XML (expat) support (xml_function) Success On (True)
Checking for the XMLReader class (xmlreader_class) Success On (True)
Checking if the httpd process can create a file inside of a directory it created (create_dir_and_file) Success
disable_functions in PHP (disable_functions) Success
PHP Open Basedir (open_basedir) Success
Test for remote URL (test_remote_url) Success
fsockopen: Connection ok! Success
fopen: Connection ok! Success
Test ini_set (check_ini_set) Success On (True)
Test for the curl library (curl) Success On
Test curl version (curlversion) Success version 7.19.7, minimum recommended version is 7.19.7
Server Information
Server API (server_api) cgi-fcgi
Server Database (server_db_type) mysql (mysql)
Server Database Version (server_db_version) Success 5.5.46
Check database access levels (server_db_grants) Success found a "grant all" statement that appears to be suitable
Check for filesystem time differences (server_time_diff) Success no filesystem time difference found
Server Software (server_software) apache
Server Operating System (server_os) linux 2.6.32-573.3.1.el6.x86_64 on x86_64
Timezone Offset (tz_offset) Success 0
Permission Information
tmp Success /home/ucruise/public_html/tmp (0755)
templates_c Success /home/ucruise/public_html/tmp/templates_c (0755)
modules Success /home/ucruise/public_html/modules (0755)
File Creation Mask (umask) Success /home/ucruise/public_html/tmp/cache (0755)
config_file Failure 0770
config.php writable. It is more safe if you change permission to read-only
Re: Upgrading from 1.6.3 (still some css & addressing issue
Posted: Tue Oct 20, 2015 1:33 pm
by stevenryals
Old Install:
Code: Select all
CMS Install Information:
CMS Version
1.6.3
Installed Modules
FileManager
1.0
MenuManager
1.6.1
ThemeManager
1.1.1
News
2.10.2
nuSOAP
1.0.1
Printing
1.0.1
Search
1.6.1
ModuleManager
1.3.1
TinyMCE
2.5.1
CMSMailer
1.73.14
CGExtensions
1.17.2
NMS
2.2.2
FormBuilder
0.6b2
FormBrowser
0.3b2
CGSimpleSmarty
1.4.3
Album
0.9.3
Blogs
0.3.3.1
JQueryTools
1.0.5
Config Information
php_memory_limit:
process_whole_template:
false
max_upload_size:
2000000
default_upload_permission:
664
assume_mod_rewrite:
false
page_extension:
internal_pretty_urls:
false
use_hierarchy:
true
debug:
false
output_compression:
false
root_url:
http://ucruisevacation.com
root_path:
/var/www/clients/client1/web1/web (0775) Failure ?
previews_path:
/var/www/clients/client1/web1/web/tmp/cache (0777) Success
uploads_path:
/var/www/clients/client1/web1/web/uploads (0755) Failure ?
uploads_url:
http://ucruisevacation.com/uploads
image_uploads_path:
/var/www/clients/client1/web1/web/uploads/images (0755) Failure?
image_uploads_url:
http://ucruisevacation.com/uploads/images
use_smarty_php_tags:
false
locale:
default_encoding:
utf-8
admin_encoding:
utf-8
PHP Information:
Current PHP Version (phpversion):
5.2.12-0.dotdeb.1 Success
md5 function (md5_function):
On (True) Success
GD version (gd_version):
2 Success
tempnam function (tempnam_function):
On (True) Success
Magic quotes in runtime (magic_quotes_runtime):
Off (False) Success
PHP Effective Memory Limit (memory_limit):
128M Success
Maximum Execution Time (max_execution_time):
30 Caution ?
PHP Safe Mode (safe_mode):
Off (False) Success
Session Save Path (session_save_path):
No check because open basedir active Caution ?
Checking if the httpd process can create a file inside of a directory it reated (create_dir_and_file):
Success
PHP register_globals (register_globals):
Off (False) Success
PHP output_buffering (output_buffering):
On Success
disable_functions in PHP (disable_functions):
Success
PHP Open Basedir (open_basedir):
/var/www/clients/client1/web1/web:/var/www/clients/client1/web1/tp:/usr/share/php5 Caution ?
Test for remote URL (test_remote_url):
Success
sockopen: Connection ok! Success
open: Connection ok! Success
File uploads (file_uploads):
On (True) Success
Maximum Post Size (post_max_size):
8M Caution ?
Maximum Upload Size (upload_max_filesize):
2M Caution ?
Basic XML (expat) support (xml_function):
On (True) Success
Test file_get_contents (file_get_contents):
On (True) Success
Test ini_set (check_ini_set):
On (True) Success
Server Information:
Server API (server_api):
apache2handler
Server Database (server_db_type):
MySQL (mysql)
Server Database Version (server_db_version):
5.1.41 Success
Server Software (server_software):
Apache/2.2.9 (Debian) PHP/5.2.12-0.dotdeb.1 with Suhosin-Patch mod_ssl/2.2.9 OpenSSL/0.9.8g
Server Operating System (server_os):
Linux 2.6.18.8-linode22 On i686
Permission Information
tmp:
/var/www/clients/client1/web1/web/tmp (0555) Failure
templates_c:
/var/www/clients/client1/web1/web/tmp/templates_c (0777) Success
modules:
/var/www/clients/client1/web1/web/modules (0755) Failure
File Creation Mask (umask):
/var/www/clients/client1/web1/web/tmp/cache (0777) Success
config_file:
0666 Failure
config.php writable. It is more safe if you change permission to read-only
Re: Upgrading from 1.6.3 (still some css & addressing issue
Posted: Tue Oct 20, 2015 2:43 pm
by velden
Is CMSMS installed on a sub-dir inside the main domain?
NO, its not.
Yes, it is!
root_url http://dallas137.arvixeshared.com/~ucruise
Pretty urls: look at the RewriteBase in .htaccess
About CSS:
Read this again:
http://docs.cmsmadesimple.org/upgrading ... ions#1.8.2
Re: Upgrading from 1.6.3 (still some css & addressing issue
Posted: Tue Oct 20, 2015 2:51 pm
by stevenryals
Grief.. You're right, it's in the main directory as far as the file system goes, but since I'm using the temp site accessing directly through the host, it does come through as a subdir.. So, when I go live on the new server, the url rewriting will work correctly?
chking the css docs you linked now.. thx
Re: Upgrading from 1.6.3 (still some css & addressing issue
Posted: Tue Oct 20, 2015 2:56 pm
by stevenryals
If you're reffing the change from stylesheet to cms_stylesheet, those are all updated assuming that all {stylesheet} tags are stored in the database. I replaced all instances of {stylesheet} with {cms_stylesheet} in the database.
Could those tags exist elsewhere?
Re: Upgrading from 1.6.3 (still some css & addressing issue
Posted: Tue Oct 20, 2015 3:04 pm
by velden
Re: Upgrading from 1.6.3 (still some css & addressing issue
Posted: Tue Oct 20, 2015 3:04 pm
by stevenryals
AH GREAT! So I'm now at the point where i can point dns to the new server and we should be good? (added absolute urls - broke template - but i haven't migrated the site yet) (should i add the actual url or can i use a variable [[root_url]]
could that also be the cause of the error on Admin > content > pages:
Error: the xajax Javascript component could not be included. Perhaps the URL is incorrect?
URL: ../lib/xajax/xajax_js/xajax_core.js
Re: Upgrading from 1.6.3 (still some css & addressing issue
Posted: Tue Oct 20, 2015 4:16 pm
by stevenryals
Do I need image src to be absolute?
or is <img src="uploads/..."