PHP Web Host - Quality Web Hosting For All PHP Applications Clan Themes! We make clans look good!!
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.
Author Message
webservant
Worker
Worker


Joined: Feb 26, 2006
Posts: 206
Location: Springfield, MA

PostPosted: Tue Mar 13, 2007 8:28 pm Reply with quote Back to top

I tried upgrading my site and ran into security code issues
Only registered users can see links on this board!
Get registered or login to the forums!
. 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?
View user's profile Send private message Visit poster's website AIM Address
evaders99
Former Moderator in Good Standing


Joined: Apr 30, 2004
Posts: 3221

PostPosted: Tue Mar 13, 2007 9:54 pm Reply with quote Back to top

Hmmm I see indeed that RavenNuke includes this function, but since PHP doesn't support it until 4.3.0, it won't work

I haven't tried any of the alternatives suggested on this site, but here are some
Only registered users can see links on this board!
Get registered or login to the forums!
View user's profile Send private message Visit poster's website
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 16987
Location: Kansas

PostPosted: Tue Mar 13, 2007 10:30 pm Reply with quote Back to top

I would strongly recommend that you upgrade your PHP installation to the latest 4.x.x release. You will run into more issues otherwise.
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
webservant
Worker
Worker


Joined: Feb 26, 2006
Posts: 206
Location: Springfield, MA

PostPosted: Thu Mar 15, 2007 8:31 pm Reply with quote Back to top

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).

Wave
View user's profile Send private message Visit poster's website AIM Address
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 16987
Location: Kansas

PostPosted: Thu Mar 15, 2007 9:17 pm Reply with quote Back to top

You really should be using 4.4.6 Smile
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
webservant
Worker
Worker


Joined: Feb 26, 2006
Posts: 206
Location: Springfield, MA

PostPosted: Fri Mar 16, 2007 4:50 am Reply with quote Back to top

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.
View user's profile Send private message Visit poster's website AIM Address
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 16987
Location: Kansas

PostPosted: Fri Mar 16, 2007 6:04 am Reply with quote Back to top

I understand. Your hosting company need to upgrade as 4.4.1 is quite old and you are missing some critical updates.
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
khaled_dxb
Regular
Regular


Joined: Jan 15, 2007
Posts: 66

PostPosted: Tue Apr 03, 2007 2:01 pm Reply with quote Back to top

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
Code:
'--without-mysql'
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
View user's profile Send private message
khaled_dxb
Regular
Regular


Joined: Jan 15, 2007
Posts: 66

PostPosted: Tue Apr 03, 2007 2:03 pm Reply with quote Back to top

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).
View user's profile Send private message
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 16987
Location: Kansas

PostPosted: Tue Apr 03, 2007 2:10 pm Reply with quote Back to top

--without-mysql means just that. You do not have access to MySQL commands from PHP. This is a host issue.
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
khaled_dxb
Regular
Regular


Joined: Jan 15, 2007
Posts: 66

PostPosted: Tue Apr 03, 2007 2:16 pm Reply with quote Back to top

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 Neutral

can i change something in an ini file?
View user's profile Send private message
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 16987
Location: Kansas

PostPosted: Tue Apr 03, 2007 2:26 pm Reply with quote Back to top

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.
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
khaled_dxb
Regular
Regular


Joined: Jan 15, 2007
Posts: 66

PostPosted: Tue Apr 03, 2007 2:37 pm Reply with quote Back to top

Ok, did some searching (googling) and found that in the /etc/php4/apache2/php.ini file there is a line that says:
Code:
;extension=mysql.so
(line 536) and it is commented out, however the last line in the same file is
Code:
extension=mysql.so
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.
View user's profile Send private message
Display posts from previous:       
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2011 by Raven

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::
:: fisubice Theme Modified by the RavenNuke™ Team ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum