Jump to content


Photo

Error after upgrade


  • Please log in to reply
9 replies to this topic

#1 bwoodsdesign

bwoodsdesign

    Likes Etomite Forums!

  • Member
  • PipPip
  • 236 posts

Posted 10 March 2008 - 04:07 PM

OK

I've upgraded the Etomite dist. 0.6.1 R3 to 0.6.1 R4. I backed up my database, images, etc. in case anything would be lost after upgrade.

I followed the instructions under "Install > Upgrade (Manual)" and created the new config.inc.php file as directed.

I logged into the manager and here is what it spit out, at the top of the page (see screenshot attached, also)

.processor.php"; } if(getenv("HTTP_CLIENT_IP")) $ip = getenv("HTTP_CLIENT_IP"); elseif(getenv("HTTP_X_FORWARDED_FOR")) $ip = getenv("HTTP_X_FORWARDED_FOR"); elseif(getenv("REMOTE_ADDR")) $ip = getenv("REMOTE_ADDR"); else $ip = "UNKNOWN"; $_SESSION['ip'] = $ip; $itemid = (isset($_REQUEST['id']) && !empty($_REQUEST['id'])) ? $_REQUEST['id'] : 'NULL'; $lasthittime = time(); $a = isset($_REQUEST['a']) ? $_REQUEST['a'] : ""; if($a!=1) { $sql = "REPLACE INTO $dbase.".$table_prefix."active_users(internalKey, username, lasthit, action, id, ip) values(".$_SESSION['internalKey'].", '".$_SESSION['shortname']."', '".$lasthittime."', '".$a."', ".($itemid == 'NULL' ? 'NULL' : "'$itemid'").", '$ip')"; if(!$rs = mysql_query($sql)) { echo "error replacing into active users! SQL: ".$sql; exit; } } ?>

I ensured all perms were set and Manager files were overwritten.

I understand that to have my upgraded software working properly, I must clear my Etomite site cache. However, here are the files in the assets/cache directory:

etomiteCache.idx.php
etomitePublishing.idx


...I'm not sure which ones I could try manually deleting via FTP since Manager won't let me in to the Manager area properly.

Can anyone help me ASAP? Thanks!

----

Edited to add the obligatory server info that you will undoubtedly ask me.. here goes:

System: Linux flavored Apache/2.2.4 (Unix)
Etomite: 0614 RC4 --> WAS 0614 RC3
MySQL: API Version: 5.0.45
PHP Version 4.4.7
Website: insitu-tech.com

Attached Files


Edited by bwoodsdesign, 10 March 2008 - 04:30 PM.


#2 Dean

Dean

    Loves Etomite Forums!

  • Admin
  • 4,790 posts

Posted 10 March 2008 - 04:25 PM

PM me some login details (incl FTP etc), and I'll take a look for you. You need to be able to log into the manager to clear the cache :)

#3 Ralph

Ralph

    Loves Etomite Forums!

  • Admin
  • 6,539 posts

Posted 10 March 2008 - 04:29 PM

You will always have at least two filkes in your assets/cache/ directory as they are required Etomite in order to function properly... These files get rebuilt during the Clear site cache process and are initially created when you save your Etomite configuration during a new install...

Did you run the installer, as the upgrade instructions state to do, or did you merely upload new files without reading the README file...???

Also, please let us know if this site is hosted by an ISP or on a local Windows server...

#4 bwoodsdesign

bwoodsdesign

    Likes Etomite Forums!

  • Member
  • PipPip
  • 236 posts

Posted 10 March 2008 - 04:33 PM

Ralph-

I did *not* run the installer, I did merely just set up the new config file and run the db update script.

I did read the README file included in the latest stable distribution but I did not see a note to run the install - per se... it was not clear to me. Been a year at least, since I ran an upgrade on someone's site before.

#5 bwoodsdesign

bwoodsdesign

    Likes Etomite Forums!

  • Member
  • PipPip
  • 236 posts

Posted 10 March 2008 - 04:56 PM

Here is the readme file that came with my latest download (downloaded Saturday, March 8th, 2008). It does not seem clear to run the installer. It does say something along the lines of following the instructions before proceeding but never says to actually run the install. Just thought you may want to revamp it to be a bit more clear? Far be it for me to judge, I'm just saying, is all...

README


Etomite 0.6.1.4 installation and upgrade notes

The Etomite 0.6.1.4 code base includes several database modifications which must be performed on any existing installations before the installation will perform properly. New installations will automatically include these modifications so no further action will be required after the installation is complete other than editing and saving the site configuration settings as prompted by the installer.


New Installations

* Perform backups just in case something goes wrong. YOU HAVE BEEN WARNED!
* Upload all files to your web server
* Follow the installation procedures described at http://docs.etomite....stallation.html
* If you don't want to read the instructions simply point your browser to http://<your_etomite_server>/ and follow the installation instructions. It'll be easier if you follow the instructions mentioned above, however.
* If you have problems you can seek help in the support forums at http://www.etomite.com


Upgrading Previous Releases

* Perform backups just in case something goes wrong. YOU HAVE BEEN WARNED!
* Upload all files to your web server
* Point your browser to http://<your_etomite_server>/install/
* Select Upgrade installation (manual)
* Read the entire upgrade document before proceeding. YOU HAVE BEEN WARNED!
* Follow any instructions which pertain to your specific needs based on your previous release
* If you didn't go into your ::Etomite manager > Etomite configuration:: yet to verify and save your settings, do so now and then perform a ::Clear site cache:: from the Etomite Main Menu.
* You should have a fully functional Etomite 0.6.1.4 installation
* If you have problems you can seek help in the support forums at http://www.etomite.com


GOOD LUCK...
The Etomite CMS Project Development Team



#6 Dean

Dean

    Loves Etomite Forums!

  • Admin
  • 4,790 posts

Posted 10 March 2008 - 05:02 PM

I've just run the upgrade process, so I know it's not the fact that something's screwy during upgrade...

#7 Dean

Dean

    Loves Etomite Forums!

  • Admin
  • 4,790 posts

Posted 10 March 2008 - 05:09 PM

I've reuploaded the majority of the core files, so I can only think that some had corrupted on upload... just logged in and cleared the site cache.

#8 bwoodsdesign

bwoodsdesign

    Likes Etomite Forums!

  • Member
  • PipPip
  • 236 posts

Posted 10 March 2008 - 05:44 PM

Thanks! Thanks! Thanks!

#9 bwoodsdesign

bwoodsdesign

    Likes Etomite Forums!

  • Member
  • PipPip
  • 236 posts

Posted 10 March 2008 - 05:50 PM

OK I saw your original msg about phpmyadmin and I rushed off to log into my other computer (I just moved so things are a mess here) whish is where the old info for this client's site was stored and I could not find it. So I helplessly tried posting back here with no keyboard just pasting "Thanks!" everywhere.

Thanks again.

So Dean, did you basically run the install or was there something I missed in mine? I deleted all the templates except for Alexis Pro one as the default.

Was I supposed to run the install after all? That may be where I messed up. See my earlier post about not being sure about that step.

Thanks again both you guys for your help!

#10 Dean

Dean

    Loves Etomite Forums!

  • Admin
  • 4,790 posts

Posted 10 March 2008 - 05:53 PM

Well there's the installer, and then there's instructions for upgrading. There's a link within the instructions you need to click on to perform maintenance (don't worry, the next version will be easier as I'll do a big button so people can't miss it).

Once I'd run the upgrade script, it was still doing it, so I replaced most of the manager files; and it started working again.

The main thing is that it's working :P




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users