PHP Web Host - Quality Web Hosting For All PHP Applications Free RavenNuke(tm) Add Ons
  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
OT
New Member
New Member


Joined: Apr 30, 2004
Posts: 4

PostPosted: Thu Apr 29, 2004 11:25 pm Reply with quote Back to top

env: phpnuke 7.2+mysql

status: "Great! I was able to connect to the database"

problem: pressed botton "Determine Type of Install" without changing "kissq_portfolio" and got this:

"Welcome to the KISSQ MySQL Table Installer!
Unable to Select the database. Please check your information on the previous page.

You have an error in your SQL syntax near '-_db like 'kissq_portfolio'' at line 1 "


BTW, my datebase's name is not nuke. prefix=nuke

thx a lot!
View user's profile Send private message
Raven
Site Admin/Owner


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

PostPosted: Fri Apr 30, 2004 6:25 am Reply with quote Back to top

I need to know the name of your database to try to see if there is a problem. This has been installed on thousands of sites without any issues so either there is a problem with your setup or something really wierd is happening Smile. You can PM me the name if you want.
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
OT
New Member
New Member


Joined: Apr 30, 2004
Posts: 4

PostPosted: Fri Apr 30, 2004 7:16 am Reply with quote Back to top

name of database: invester178_com_-_db
View user's profile Send private message
Raven
Site Admin/Owner


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

PostPosted: Fri Apr 30, 2004 7:42 am Reply with quote Back to top

Well guess what? It appears the -db gives MySQL a migraine when issuing the Show tables command and probably all server commands. Try surrounding your database name with backward tick marks `DB_NAME`. If that doesn't work then modify the kissq-sql.php file. On or about line 63 modify this code
Code:
elseif ($action=="Determine Type of Install") {
   $query = "show tables from $database like '$kissqTable'";
to
Code:
elseif ($action=="Determine Type of Install") {
   $query = "show tables from `$database` like '$kissqTable'";
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
OT
New Member
New Member


Joined: Apr 30, 2004
Posts: 4

PostPosted: Fri Apr 30, 2004 9:16 am Reply with quote Back to top

changing name of database doesn't work.
change code is OK.

did I tell u nice job? Thx a lot.
View user's profile Send private message
Raven
Site Admin/Owner


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

PostPosted: Fri Apr 30, 2004 9:57 am Reply with quote Back to top

Smile - I will update the installer. Evidently not many people name their databases with a -.
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
OT
New Member
New Member


Joined: Apr 30, 2004
Posts: 4

PostPosted: Fri Apr 30, 2004 10:53 am Reply with quote Back to top

the name of database is recommended by host provider. we can do nothing with it.
View user's profile Send private message
Raven
Site Admin/Owner


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

PostPosted: Fri Apr 30, 2004 10:54 am Reply with quote Back to top

As I said in my IM to you, I will be contacting the MySQL folks to see what's going on. Thanks.
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
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-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