PHP Web Host - Quality Web Hosting For All PHP Applications Sign up for PayPal and start accepting credit card payments instantly
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
Post new topic   Reply to topic
Author Message
JTD
Hangin' Around


Joined: Nov 21, 2005
Posts: 45
Location: Indiana

PostPosted: Fri May 11, 2007 8:25 am Reply with quote Back to top

I am having problems trying to set up a test site for the new version. I get to the setup page just fine. My config file is good to go. It is just the core tables that will not load. This is the error I get below. Please help. This is the version of mysql that my host uses.-> MySQL version 4.1.21-standard I also wanted to add that i cannot even do a manual upload of the core sql file. I get this error. Very strange it will load everything except the core tables.???

Code:
Error

SQL query:

DROP TABLE IF EXISTS $prefix.`_authors` ;

MySQL said: Documentation
#1142 - DROP command denied to user 'hvbndcgz'@'localhost' for table '_authors'




Code:
 The exact error message that your MySQL server reported is:
MySQL Error # 4 = You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')' at line 1
View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger
kguske
Site Admin


Joined: Jun 04, 2004
Posts: 4873

PostPosted: Fri May 11, 2007 11:36 am Reply with quote Back to top

The SQL message says it all - it's trying to delete the _authors table, but the database user isn't authorized to do that. You can either delete / rename the tables in question or give the user access to the drop command.
View user's profile Send private message
infidelguy
Hangin' Around


Joined: May 25, 2005
Posts: 26
Location: Atlanta, Georgia

PostPosted: Tue Dec 11, 2007 8:26 am Reply with quote Back to top

I'm getting the same error in mysql and in the installsql.php file below.

Fatal error: Call to undefined function gzfile() in /house/me/public_html/..../INSTALLATION/installSQL.php on line 290

I have full permissions to my database.

I have tried to add manually. I still get rejected and cannot create, edit, drop the tables.
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
Raven
Site Admin/Owner


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

PostPosted: Tue Dec 11, 2007 10:36 am Reply with quote Back to top

Your error is not the same. The original user was being denied the permission to DROP a table (DROP command denied to user). Although the end result is the same, you are erring out on a missing function (Call to undefined function gzfile()). This probably means your host has not compiled PHP with the ZLIB functions. Save this script to zlibchk.php, ftp it to your server, and run it. It will either display Yes or No. Yes means it is loaded and means there is still a problem. No means your host does not have it compiled in PHP. You will need to request that they recompile PHP with the ZLIB option. Zlib support in PHP is not enabled by default. You will need to configure PHP --with-zlib[=DIR]

You could also try dynamic loading the zlib.so file using the php function dl('zlib.so');

Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.1//EN">
<html>
<head>
<title></title>
</head>
<body>
<?= extension_loaded('zlib') ? '<b><font color="green">Yes</font></b>' : '<b><font color="red">No</font></b>';?>
</body>
</html>
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
fkelly
Moderator


Joined: Aug 30, 2005
Posts: 2194
Location: near Albany NY

PostPosted: Tue Dec 11, 2007 10:38 am Reply with quote Back to top

Usually the database user is set up in cPanel or vDeck or another "panel" type program that your host provides. You need to go in there and check out the privileges that user hvbndcgz has to that database. You want it to have all privileges and it apparently doesn't. gzfile is a standard PHP function. You can find it in the PHP manual. If it's not working you need to contact your host.

edit: live and learn. see Raven's reply on gzfile and ignore mine Smile
View user's profile Send private message Visit poster's website
Display posts from previous:       
Post new topic   Reply to topic

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-2008 by Raven
Proud to be listed at Lobo Links Web Directory

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 Recoded To 100% W3C CSS & HTML 4.01 Transitional Compliance by Raven and 64bitguy ::

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

zerosum