Author |
Message |
webservant
Worker


Joined: Feb 26, 2006
Posts: 206
Location: Springfield, MA
|
Posted:
Tue Mar 13, 2007 8:28 pm |
|
I tried upgrading my site and ran into security code issues Only registered users can see links on this board! Get registered or login!. So, I decided to test my server using a clean install of RN21 - to see what if anything shook out. Everything was good through the Configure Base RavenNuke step.
When I first go to /admin.php, I get an INSTALLATION directory warning. So, I went into rnconfig.php and set the check variable to FALSE along with the NukeSentinel check.
I closed my browser and went back to /admin.php and got a blank page. So, I set config.php to display_errors = TRUE.
I closed my broswer and went back to /admin.php and I get the following error message:
Fatal error: Call to undefined function: html_entity_decode() in /home/doulos/public_html/mainfile.php on line 1058
When I look up html_entity_decode(), I found it is part of php, but the info page lists it as (PHP 4 >= 4.3.0, PHP 5). phpinfo() tells me I am running 4.2.2. The HowToInstall requirements state I need 4.1 or greater. Do I actually need 4.3.0 or greater?? If so, does this also explain the weirdness in the previous post? |
_________________ Awaiting His Shout
Webservant - GraciousCall.org
Romans 8:28-39 |
|
|
 |
evaders99
Former Moderator in Good Standing

Joined: Apr 30, 2004
Posts: 3221
|
Posted:
Tue Mar 13, 2007 9:54 pm |
|
|
|
 |
Raven
Site Admin/Owner

Joined: Aug 27, 2002
Posts: 17088
|
Posted:
Tue Mar 13, 2007 10:30 pm |
|
I would strongly recommend that you upgrade your PHP installation to the latest 4.x.x release. You will run into more issues otherwise. |
|
|
|
 |
webservant

|
Posted:
Thu Mar 15, 2007 8:31 pm |
|
Well, I upgraded my development server.
RedHat 9 --> CentOS 3.8
PHP 4.2.2 --> PHP 4.3.2
All is working now with the fresh install. Moving back to upgrading my development site, and the issues documented in the other thread.
With this in mind, may I suggest a change to HowToInstall/requirements.php:
Quote: | PHP - version 4.1 or later is recommended |
should be changed to:
Quote: | PHP - version 4.3 or later is required |
Thanks for the speedy responses and good advice!
BTW - RN2.10 is AWESOME!! (as usual).
 |
|
|
|
 |
Raven

|
Posted:
Thu Mar 15, 2007 9:17 pm |
|
You really should be using 4.4.6  |
|
|
|
 |
webservant

|
Posted:
Fri Mar 16, 2007 4:50 am |
|
Well, I'm getting there. I'm actually burning the iso images for CentOS 4.4 as I write this. There doesn't seem to be a safe on-the-wire upgrade from CentOS 3 --> 4. This will get me to PHP 4.3.9. Then, I'm not sure what I'll do. My hosting company is currently iPowerWeb, and they supply 4.4.1. I don't want to surpass their version because then my development machine may mask issues that I'll experience on my production server. |
|
|
|
 |
Raven

|
Posted:
Fri Mar 16, 2007 6:04 am |
|
I understand. Your hosting company need to upgrade as 4.4.1 is quite old and you are missing some critical updates. |
|
|
|
 |
khaled_dxb
Regular


Joined: Jan 15, 2007
Posts: 66
|
Posted:
Tue Apr 03, 2007 2:01 pm |
|
Hi,
I'm also getting a fatal error, however it's this one:
Code:Fatal error: Call to undefined function: mysql_connect() in /var/www/raven/INSTALLATION/setup.php on line 258
|
php4-mysql is installed but phpinfo says towards the end of that first line "Configure Command"
I'up until i figured it was the mysql_connect statement - all i kept getting was blank pages!!!
The version of PHP stated by phpinfo is 4.3.10-19
But surely a function as old as mysql_connect() should still work??
Thanks |
|
|
|
 |
khaled_dxb

|
Posted:
Tue Apr 03, 2007 2:03 pm |
|
Oh, one other thing, 4.3.10-19 is the most recent version available with the stable release of Debian 3.1r5 - i'm not sure how to install packages not available in the list using dselect or aptitude (but i'm working on that part). |
|
|
|
 |
Raven

|
Posted:
Tue Apr 03, 2007 2:10 pm |
|
--without-mysql means just that. You do not have access to MySQL commands from PHP. This is a host issue. |
|
|
|
 |
khaled_dxb

|
Posted:
Tue Apr 03, 2007 2:16 pm |
|
i figured as much - in previous installs of debian that i did, this never happened so now i'm not sure how to take this --without mysql off ?! do i need to compile it myself - is that difficult or complicated? i've never compiled it from scratch before... n00b city i know
can i change something in an ini file? |
|
|
|
 |
Raven

|
Posted:
Tue Apr 03, 2007 2:26 pm |
|
It will have to be recompiled --with-mysql. That's really odd for them not to activate that. It isn't difficult to compile your own, but Debian may have (probably has) it's own special options/configuration scheme. I'd have to think you can find your answers in their forums or possibly even in their documentation. |
|
|
|
 |
khaled_dxb

|
Posted:
Tue Apr 03, 2007 2:37 pm |
|
Ok, did some searching (googling) and found that in the /etc/php4/apache2/php.ini file there is a line that says: (line 536) and it is commented out, however the last line in the same file is but it is NOT commented out.
I removed the comment from line 536, restarted apache2 and it started working now... it seems that it didnt like that line to be the last line of the file?
One thing that is very strange is that phpinfo STILL says --without mysql.
Thing is that phpmyadmin was working perfectly even before i made any changes!! i will go scour their forums to see if i can gather more info.
Thanks for your replies mate. |
|
|
|
 |
|