Etomite Community Forums: [Resolved]Plaintext PHP-code output in footer after upgrade - Etomite Community Forums

Jump to content


Page 1 of 1
  • You cannot start a new topic
  • This topic is locked

[Resolved]Plaintext PHP-code output in footer after upgrade

#1 User is offline   pokemoen 

  • Etomite Forum Newbie
  • Group: Member
  • Posts: 5
  • Joined: 10-August 06

Posted 24 March 2009 - 11:31 PM

Hi guys,

I've recently done some upgrading: 0.6.1.2->0.6.1.4->1.1
Now, at the bottom of each page, I see:

Quote

Powered by Etomite CMS.
_ALL); // let scripts know that it is the parser calling define("IN_ETOMITE_PARSER", "true"); // let scripts know that it is the manager calling //define("IN_ETOMITE_SYSTEM", "true"); // get the required includes and/or additional classes // contents of manager/includes/config.inc.php can be copied and pasted here for a small speed increase @include("manager/includes/config.inc.php"); // If config.inc.php doesn't exist or isn't complete, display installer link and die if(empty($database_type) || !file_exists("manager/includes/config.inc.php")) { die("Please run the Etomite install utility!"); } // if the form class will not be used this include can be rearked for a small speed increase include("manager/includes/form_class.php"); // create a customized session startCMSSession(); // initiate a new document parser and additional classes $etomite = new etomite; // set some options $etomite->printable = "Printable Page"; // Name of Printable Page template // the following settings are for blocking search bot page hit logging $etomite->useblockLogging = true; $etomite->blockLogging = "/(google|bot|msn|slurp|spider|agent|validat|miner|walk|crawl|robozilla|search|com
bine|theophrastus|larbin|dmoz)/i"; // these settings allow for fine tuning the parser recursion $etomite->snippetParsePasses = 5; # Original default: 3 $etomite->nonCachedSnippetParsePasses = 5; # Original default: 2 // feed the parser the execution start time $etomite->tstart = $tstart; // execute the parser $etomite->executeParser(); // flush the content buffer ob_end_flush(); // ANY SETTINGS YOU DIDN'T FIND HERE HAVE BEEN MOVED TO THE CONFIGURATION PANEL // END: index.php -- Etomite parser ?>


Ofcourse the Powered by.. is the poweredby snippet, but everything below that is a piece of code from index.php
(Line:
// set error reporting level (can be changed in a production environment)
error_reporting(E_ALL);
...
)

Any ideas as to what is causing it to output the code from the middle of a line like that? Is "E" a reserved thing maybe? (my PHP skills are rusted to dust..)

Thanks for any help you can offer.

Cheers,
Alex

#2 User is offline   Ralph 

  • Etomite Administrator
  • Icon
  • Group: Admin
  • Posts: 6,369
  • Joined: 01-July 04
  • Gender:Male
  • Location:Jamestown, NY USA
  • Interests:Computers, Camping, Hiking, Aviation

Posted 25 March 2009 - 01:49 AM

How did you go about these upgrades...???

Did you run the installer/upgrader...???

Did you verify and save the Etomite configuration after the upgrades...???

#3 User is offline   pokemoen 

  • Etomite Forum Newbie
  • Group: Member
  • Posts: 5
  • Joined: 10-August 06

Posted 25 March 2009 - 07:15 AM

I followed the instructions.
0.6.1.2-> 0.6.1.4:
- Created database backup with mysql admin site
- Copied files back to my PC using FTP
- Uploaded 0.6.1.4 files to the FTP
- Opened <site>/install
- Chose upgrade
- Changed generic.config.php to config.php after setting the vars right
- Ran db update script from upgrade page (went all OK)
- Opened <site>/manager
- Checked config, pressed save for good measure
- Cleared cache

0.6.1.4-> 1.1:
- Created database backup with mysql admin site
- Uploaded 1.1 files to the FTP
- Opened <site>/install
- Chose upgrade
- Corrected the vars in config.php
- Checked status on upgrade page, all OK now.
- Ran db update script from upgrade page
- Opened <site>/manager
- Modified config a bit, pressed save
- Cleared cache

It should be exactly as described in the upgrade procedures, since I read the REAME files and upgrade pages extensively since it said "YOU'VE BEEN WARNED!" everywhere... ;)
Did I miss/misread anything?

Cheers,
Alex

This post has been edited by pokemoen: 25 March 2009 - 10:53 AM


#4 User is offline   Ralph 

  • Etomite Administrator
  • Icon
  • Group: Admin
  • Posts: 6,369
  • Joined: 01-July 04
  • Gender:Male
  • Location:Jamestown, NY USA
  • Interests:Computers, Camping, Hiking, Aviation

Posted 25 March 2009 - 12:51 PM

Please supply us with additional information so we can better assist you in resolving this issue... The following information, complete with version/release will be of great help... If the issue is browser-specific also include browsers tested and the results of each...

Etomite Version
Server Operating System
Apache Version
PHP Version
MySQL Version

#5 User is offline   pokemoen 

  • Etomite Forum Newbie
  • Group: Member
  • Posts: 5
  • Joined: 10-August 06

Posted 25 March 2009 - 11:10 PM

Etomite Version: 1.1.1 (Prelude)
Server Operating System: Linux nlw-fe01 2.6.17-11-server #2 SMP
Apache Version: Apache/1.3.27 Unix FrontPage/5.0.2.2510
PHP Version: 4.4.2-1.1
MySQL Version: MySQL 4.0.24_Debian-10sarge2

Note: It's an externally hosted server, so I can't do anything on that side (except maybe complain/ask them to upgrade if needed..)

#6 User is offline   Ralph 

  • Etomite Administrator
  • Icon
  • Group: Admin
  • Posts: 6,369
  • Joined: 01-July 04
  • Gender:Male
  • Location:Jamestown, NY USA
  • Interests:Computers, Camping, Hiking, Aviation

Posted 26 March 2009 - 12:27 AM

Your server spec's look fine and considering how previous versions worked it would stand to reason that v1.1 should also work...

Did you download, extract, and upload the zip or the tar.gz package...??? Several members have experienced problems with the zip file and using the tar.gz file has resolved most problems...

If you continue to have problems and want me to take a hands-on look just PM me server spec's, for one of the sites, including FTP and I'll see if I can get you going... Once we know what's wrong with one install the others will be easier to fix...

#7 User is offline   pokemoen 

  • Etomite Forum Newbie
  • Group: Member
  • Posts: 5
  • Joined: 10-August 06

Posted 29 March 2009 - 10:00 AM

Thanks for the tip!
Don't know if it was the tar.gz or just the re-uploading, but now it's fixed.

Cheers,
Alex

#8 User is offline   DeanC 

  • Etomite Administrator
  • Icon
  • Group: Admin
  • Posts: 4,702
  • Joined: 08-June 04
  • Gender:Male
  • Location:United Kingdom

Posted 29 March 2009 - 03:45 PM

Support Issue Resolved!

The issue this topic was opened for has been resolved, and we look forward to helping you in the future. If you need further assistance, please open a new topic.

This topic will now be marked as Resolved. If you are satisfied with the support provided here at Etomite (or just appreciate the service we provide), you may want to make a donation to help cover forum and server costs in order to help this quality support continue. If you wish to donate, click Here

Page 1 of 1
  • You cannot start a new topic
  • This topic is locked

2 User(s) are reading this topic
0 members, 2 guests, 0 anonymous users