Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> Raven's RavenNuke(tm) v2.00.00 - v2.02.00 Distro
Author Message
Madhatter
New Member
New Member


Joined: Nov 02, 2005
Posts: 10

PostPosted: Tue Feb 21, 2006 4:12 am Reply with quote

Wondering if anyone can shed any light on this...

When trying to install any of the sql dumps via the installsql.php file I keep getting the message:

Fatal error: Call to undefined function: gzfile() in /srv/www/htdocs/raven/INSTALLATION/installSQL.php on line 214

I'm running PHP 4.3.10 so I believe that I have the function in place but is there a way of checking? or am I doing something else wrong?

Thank you All

Craig
 
View user's profile Send private message
evaders99
Former Moderator in Good Standing


Joined: Apr 30, 2004
Posts: 3221

PostPosted: Tue Feb 21, 2006 8:54 am Reply with quote

Weird, it says gzfile should be available for PHP 3 and higher. Only registered users can see links on this board! Get registered or login!

_________________
- Only registered users can see links on this board! Get registered or login! -

Need help? Only registered users can see links on this board! Get registered or login! 
View user's profile Send private message Visit poster's website
Madhatter
PostPosted: Tue Feb 21, 2006 12:06 pm Reply with quote

That's what I thought!

Looking in phpinfo it does say that I apparantly have gzip, deflate....

Only think I can think is that I don't actually have gx support on the server?!? but I honestly wouldn't know how to test it....
 
mianiak
New Member
New Member


Joined: Dec 31, 2007
Posts: 1

PostPosted: Mon Dec 31, 2007 3:24 am Reply with quote

ok so i know this is a really weird way of going about it and i know your going to laugh at me Wink , but with a bit of chopping and changing i got it to work, please forgive me if i have done something wrong but i am no expert at php coding at all, infact i couldnt code my way out of a wet paper bag. i just thought to share this with you incase it comes in handy.

FreeBSD 6.2-RELEASE i386
PHP-5.2.5
MySQL-5.0.51
Apache/2.2.6 (Unix) PHP/5.2.5 mod_ssl/2.2.6 OpenSSL/0.9.7e-p1
RavenNuke v2.10.01

Relating to installSQL.php

firstly, on line 290 i changed '$lines = gzfile($sqlFolder.$value);' to '$lines = file($sqlFolder.$value);'

secondly, i extracted the .sql files out of the .sql.gz archives in sql/

thirdly i changed lines 225 through to 236 and removed .gz off the end

Code:


            'rnIP2Country1Sql'=>'rn_ip2c1.sql',
            'rnIP2Country2Sql'=>'rn_ip2c2.sql',
            'rnIP2Country3Sql'=>'rn_ip2c3.sql',
            'rnIP2Country4Sql'=>'rn_ip2c4.sql',
            'rnIP2Country5Sql'=>'rn_ip2c5.sql',
            'rnIP2Country6Sql'=>'rn_ip2c6.sql',
            'rnIP2Country7Sql'=>'rn_ip2c7.sql',
            'rnIP2Country8Sql'=>'rn_ip2c8.sql',
            'rnIP2Country9Sql'=>'rn_ip2c9.sql',
            'rnIP2Country10Sql'=>'rn_ip2c10.sql',
            'rnIP2Country11Sql'=>'rn_ip2c11.sql',
            'rnIP2Country12Sql'=>'rn_ip2c12.sql'
 
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.    Ravens PHP Scripts And Web Hosting Forum Index -> Raven's RavenNuke(tm) v2.00.00 - v2.02.00 Distro

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
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©