Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> MySQL
Author Message
widow_wf
New Member
New Member



Joined: Oct 22, 2008
Posts: 10

PostPosted: Wed Oct 22, 2008 4:40 pm Reply with quote

ok im installing Raven Nuke 2.30 and my host does not use cPanel...

very frustrating btw because i know nothing about phpmyadmin

so i edited the config file with this

put in localhost

put in my user name on both which happen to be the same

then my password.

saved the config.php

and uploaded it and all the html files ( and no not the folder itsself) just all the contents of the html folder.

however when i run the installsql.php address i get this

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, [no address given] and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.
Apache/2.2.3 (Debian) PHP/5.2.0-8+etch11 mod_ssl/2.2.3 OpenSSL/0.9.8c Server at [ Only registered users can see links on this board! Get registered or login! ] Port 80



so basically they only info i have found on the net and forums is that i need to run this script in the mysql part of phpmyadmin


$dbhost = 'localhost';
$dbuname = 'MY DATABASE USERNAME';
$dbpass = 'MY DATABASE PASSWORD';
$dbname = 'MY DATABASE NAME';
$prefix = 'nuke';
$user_prefix = 'nuke';
$dbtype = 'MySQL';
$sitekey = 'JdDk*tk2rnv19896v28367-tk56w69.3a2fDS+e9';
$gfx_chk = 7;
$subscription_url = '';
$admin_file = 'admin';
$tipath = 'images/topics/';
$display_errors = FALSE;

/*********************************************************************/
/* The configuration options for RavenNuke(tm) have been moved to a */
/* separate file here: */
/*********************************************************************/
require_once(NUKE_BASE_DIR.'rnconfig.php');

however when i do so i recieve this error

Error

SQL query:

$dbhost = 'localhost';

MySQL said: Documentation
#1064 - 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 '$dbhost = 'localhost'' at line 1


can anyone help me sort out this mess on phpmyadmin...because i have no clue without cpanel


thanks in advance and im sorry if posted in wrong area.
 
View user's profile Send private message
evaders99
Former Moderator in Good Standing



Joined: Apr 30, 2004
Posts: 3221

PostPosted: Wed Oct 22, 2008 6:02 pm Reply with quote

installsql.php should be run from your browser. It is not supposed to run through phpMyAdmin, nor do you need phpMyAdmin to run RavenNuke.

Internal Server Error indicates something wrong with your server configuration. You should talk to your host about that

_________________
- Star Wars Rebellion Network -

Need help? Nuke Patched Core, Coding Services, Webmaster Services 
View user's profile Send private message Visit poster's website
widow_wf







PostPosted: Wed Oct 22, 2008 6:24 pm Reply with quote

yes i understand running the installsql.php is thru my browser...as i explained above when i do that i get the internal server error.

aside from the chance that this is a host problem and not mine...let me ask this to make sure before contacting the host...

are you implying that i just upload the contents of the html folder into the proper directory on the host server make sure its all in the right folders etc etc...

and then run this command in the browser?
[ Only registered users can see links on this board! Get registered or login! ]


if thats all i have to do then it must be a host problem...

is there anything i should do? other then editing the config.php..thats a given
 
jestrella
Moderator



Joined: Dec 01, 2005
Posts: 593
Location: Santiago, Dominican Republic

PostPosted: Wed Oct 22, 2008 7:23 pm Reply with quote

Well, in most cases editing config file and uploading all files to your server should do the trick, then you should be able to run any php script hosted in your server from your browser.

As advise i suggest you to create a simple php file and name it whatever you want with this simple code and run it from your browser, just to see if it works...

Code:
<?php phpinfo(); ?>


If it also does not display anything the this issue is solely related to your server environment configuration and you must contact your server administrator.

_________________
"For those whom have not reach the sky... Every mountain seems high"

Best Regards
Jonathan Estrella [ Only registered users can see links on this board! Get registered or login! ] 
View user's profile Send private message Visit poster's website
CodyG
Life Cycles Becoming CPU Cycles



Joined: Jan 02, 2003
Posts: 714
Location: Vancouver Island

PostPosted: Wed Oct 22, 2008 7:56 pm Reply with quote

Without cpanel or plesk or facsimilie... how did you create the db, the user, and the user password and assign the user to the db, all on your host, before running installSQL.php?

_________________
"We want to see if life is ubiquitous." D.Goldin 
View user's profile Send private message
widow_wf







PostPosted: Wed Oct 22, 2008 8:25 pm Reply with quote

it appears also that i have discovered that under the phpmyadmin while viewing my database screen i cannot add a user....i can add databases but cannot input any users with any privledges.

So either he hasnt enabled this feature or i have no permissions to add users to the database...and therefore making my config.php file useless because it cant log into my user account under my website database..

hope that all came out right..

and iam also going to try the php file thing now.
 
Raven
Site Admin/Owner



Joined: Aug 27, 2002
Posts: 17088

PostPosted: Wed Oct 22, 2008 10:15 pm Reply with quote

Also, a 500 server error means a misconfiguration error in either your Apache httpd.conf file OR your .htaccess file. Sometimes it means your host does not allow certain directives in your .htaccess file. You might consider changing hosts.
 
View user's profile Send private message
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> MySQL

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 ©