Installing or Upgrading to 1.9 - Problems and Solutions

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.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am
Location: Arizona

Re: Installing or Upgrading to 1.9 - Problems and Solutions

Post by Dr.CSS »

Do you have an email registered with you/user name, as it can send you a reset link to get back in?...
kurieuo
Forum Members
Forum Members
Posts: 11
Joined: Tue Jul 03, 2007 4:37 am

Re: Installing or Upgrading to 1.9 - Problems and Solutions

Post by kurieuo »

Dr.CSS wrote:Do you have an email registered with you/user name, as it can send you a reset link to get back in?...
Yep, no email was received. However, passwords have been reset at the database level, so... it is definitely not a password issue.

It's like the form just isn't submitting. I have suspicions it might be an SSL thing, but don't know at this stage.

I will try a blank install. Then migrate database data across. I've read brand new installs have helped others with other issues who upgraded, although they experienced different issues.
kurieuo
Forum Members
Forum Members
Posts: 11
Joined: Tue Jul 03, 2007 4:37 am

Re: Installing or Upgrading to 1.9 - Problems and Solutions

Post by kurieuo »

kurieuo wrote:
Dr.CSS wrote:Do you have an email registered with you/user name, as it can send you a reset link to get back in?...
Yep, no email was received. However, passwords have been reset at the database level, so... it is definitely not a password issue.

It's like the form just isn't submitting. I have suspicions it might be an SSL thing, but don't know at this stage.

I will try a blank install. Then migrate database data across. I've read brand new installs have helped others with other issues who upgraded, although they experienced different issues.
Just adding the reason I have suspicions it is an SSL thing, is because when I submit I get a message saying I'm about to submit to an insecure page.

When I update the config.php to have https:// for root_url also, I receive the following error, which I've read others have received:
  • Fatal error: Cannot assign by reference to overloaded object in /home/user/public_html/cmsadmin/header.php on line 37
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm
Location: Fernie British Columbia, Canada

Re: Installing or Upgrading to 1.9 - Problems and Solutions

Post by calguy1000 »

Remove your .htaccess temporarily and see if you can login.
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.
kurieuo
Forum Members
Forum Members
Posts: 11
Joined: Tue Jul 03, 2007 4:37 am

Re: Installing or Upgrading to 1.9 - Problems and Solutions

Post by kurieuo »

calguy1000 wrote:Remove your .htaccess temporarily and see if you can login.
Thanks calguy.

I did that for root CMS folder, still the same issue.

However, I had added a .htaccess file as follows to '/admin' folder (which I renamed to 'cmsadmin' as it conflicted with an existing 'admin' folder).

Code: Select all

# Rewriting rules
RewriteEngine on
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://www.removed.com/cmsadmin/$1 [R=301,L]
AuthType Basic
AuthName "CMS Admin"
AuthUserFile "/home/removed/.htpasswds/public_html/cmsadmin/passwd"
require valid-user
Log in attempt goes through, but I now receive the error: "Fatal error: Cannot assign by reference to overloaded object in /home/user/public_html/cmsadmin/header.php on line 37" (without having changed the config.php file).
kurieuo
Forum Members
Forum Members
Posts: 11
Joined: Tue Jul 03, 2007 4:37 am

Re: Installing or Upgrading to 1.9 - Problems and Solutions

Post by kurieuo »

Seems like not all new files copied across when I upgraded or something. Just re-uploaded a fresh version after receiving further issues in admin, and all seems to work fine now.

Thanks.
kristy_lb
Forum Members
Forum Members
Posts: 18
Joined: Wed Oct 21, 2009 10:44 pm
Location: Canada

Re: Installing or Upgrading to 1.9 - Problems and Solutions

Post by kristy_lb »

I just upgraded from 1.9.2 to 1.9.3 this morning and upon completion received this error:
Parse error: syntax error, unexpected T_FUNCTION in /home/content/48/6449548/html/modules/Search/search.tools.php on line 47
and neither the site nor the admin would load.
I downloaded 1.9.2 again and just uploaded the search module folder and overwrote it. The installation is working fine now.
I don't know if this is isolated to something in my install, but I've never customized the core files.

I'm running php 5.2.14.
RonnyK
Support Guru
Support Guru
Posts: 4962
Joined: Wed Oct 25, 2006 8:29 pm
Location: Raalte, the Netherlands

Re: Installing or Upgrading to 1.9 - Problems and Solutions

Post by RonnyK »

1.9.3 package will be re-cut, as an issue was in the package. In 30 minutes the corrected package should be available.

Ronny
twwitt
Forum Members
Forum Members
Posts: 149
Joined: Thu Aug 28, 2008 7:45 pm
Location: Minneapolis, MN

Re: Installing or Upgrading to 1.9 - Problems and Solutions

Post by twwitt »

I upgraded from 1.92 to 1.93 and am since having trouble with TinyMCE.

At first, it wouldn't show at all (the check mark would be checked on in Page editor; no way to uncheck it). So, I uninstalled it (then deleted it) and re-installed 2.7.3 (latest thing in the forge).

Now, TinyMCE is showing again, but I can't add toolbar buttons for things like hr or tables....I've reset everything to default and re-tried. Any thing else I should try? Anyone else having this problem?

15 minutes later...
NEVER MIND -- SOLVED.... I checked the box: Use static config file in Advanced, and that seemed to take care of my issues.
volcanoboy

Re: Installing or Upgrading to 1.9 - Problems and Solutions

Post by volcanoboy »

Hi,

I have not actually upgraded yet but I have a few questions anyway. I've used cmsmadesimple for just about every website I've done for a few years now. We have our own server where we host our websites and are about to upgrade from PHP 5.1.6 to PHP 5.3.x. Some of my older sites are using 1.2. Maybe even earlier. None of the sites use alot of modules. There's one though that have a HUGE Cataloger database and it's my only real concern atm.

• Is it safe to upgrade sites as old as 1.2 to 1.9?

• If I upgrade our server to PHP 5.3 without upgrading the websites...will they stop working completely?
krussell
Forum Members
Forum Members
Posts: 32
Joined: Wed May 16, 2007 2:00 pm

Re: Installing or Upgrading to 1.9 - Problems and Solutions

Post by krussell »

volcanoboy wrote: • Is it safe to upgrade sites as old as 1.2 to 1.9?
I have just upgraded from 1.5.2 to 1.9, and prior to that, I upgraded from 1.08 to 1.5.2, so you should be able to get from 1.2. to 1.9

1.5.2 to 1.9 was almost seamless for me (many thanks to the CMSMS development team for making the upgrade process so easy).
The only problem I ran into was various odd characters which were introduced (e.g. Â at line ends, and odd replacements for quotation marks). After a bit of searching I found a post from replytomk3 which solved the problem:
http://forum.cmsmadesimple.org/viewtopi ... 02#p245802
The solution was to edit config.php to change the default utf-8 encoding to utf8_general_ci, to match my existing database:
$config['default_encoding'] = 'utf8_general_ci';
$config['admin_encoding'] = 'utf8_general_ci';
N.B. don't forget to clear the cache at Site Admin » Global Settings after doing this.

Note for the CMSMS team: The handbook contains this:
Step 10 - Take off the site down for maintenance notice. Note: database upgrade may introduce some weird characters on your page, especially if it is not English. These are easiest to fix manually.
http://wiki.cmsmadesimple.org/index.php ... /Upgrading
which sounds like the same problem, so it might be worth suggesting replytomk3's fix if it saves some people doing lots of manual text updates?

1.08 to 1.5.2 was a bit trickier, and I posted some notes about the problems I had to fix here:
http://forum.cmsmadesimple.org/viewtopi ... =3&t=30675
numer9

Re: Installing or Upgrading to 1.9 - Problems and Solutions

Post by numer9 »

I had this issue:
TYPE=MyISAM
Error (1064): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'TYPE=MyISAM' at line 17
and i was related to MySQL server version (5+). I had to change from TYPE=MyISAM to ENGINE=MyISAM in module code - and everything started allright. I was during fresh install, News install or upgrade... Maybe that will help somebody!
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm
Location: Fernie British Columbia, Canada

Re: Installing or Upgrading to 1.9 - Problems and Solutions

Post by calguy1000 »

CMSMS 1.9.3 already has a workaround for this issue, built into the adodb library.
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.
twwitt
Forum Members
Forum Members
Posts: 149
Joined: Thu Aug 28, 2008 7:45 pm
Location: Minneapolis, MN

Re: Installing or Upgrading to 1.9 - Problems and Solutions

Post by twwitt »

Problem with TinyMCE 2.7.3:
Ever since upgrading to CMSMS 1.93, I've had a problem uploading/linking to PDF files in TinyMCE. I can successfully upload the file (either by FTP or via the file manager -- doesn't matter), the file shows up in file manager, but then when I go to link to that PDF file using TinyMCE (via insert/edit link), the newly uploaded file is not there. It only shows up 3-4 hours later.

The problem does NOT happen when uploading images to the image folder (i.e. Tiny's insert/edit image function works properly. I can see the new images right away). However, if I'm within the insert/edit link dialog box, I also cannot find recently uploaded .jpgfiles -- so it's something to do with the insert/edit link dialog box not working correctly.

This didn't happen prior to upgrade.

For other people experiencing somewhat similar problems, see these post: http://forum.cmsmadesimple.org/viewtopi ... =8&t=51932

Any ideas?
numer9

Re: Installing or Upgrading to 1.9 - Problems and Solutions

Post by numer9 »

calguy1000 wrote:CMSMS 1.9.3 already has a workaround for this issue, built into the adodb library.
On my fresh install at mySQL 5.5.8 it's not working at my host (CMS MS 1.9.3). Another issue is connected to modules. For example installing FrontEndUsers from Module Manager - doesn't create all the tables. I needed to change method.install.php file to make it work... :/
twwitt wrote:Problem with TinyMCE 2.7.3:
I think it's a TinyMCE cache-related topic. There's about 5 or more topics started right now about this problem, in couple of languages and for example in "Product Support" forum, here: http://forum.cmsmadesimple.org/viewtopi ... =8&t=51932. Does anyone know TinyMCE caching system a bit? ???
Locked

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