Author |
Message |
Joshua15864
Hangin' Around

Joined: Nov 20, 2005
Posts: 30
|
Posted:
Sun Nov 20, 2005 12:27 pm |
|
Okay, basically, my site is www.josh-inc.net/portal/html/ . It says that there is a mysql error. I installed all the tables and everything. Any help?? PLEASE?
I think it is my config.php file. here is info.
Code:# ######################################################################
# Database & System Config
#
# dbhost: MySQL--.secureserver.net
# dbuname: nuke_josh
# dbpass: --
# dbname: nuke_josh
# $prefix: nuke
# $user_prefix: nuke
# $dbtype: MySQL
#
#
#
# $sitekey: -- (Whats this)?
#
# $gfx_chk: Set the graphic security code on every login screen,
# You need to have GD extension installed:
# 0: No check
# 1: Administrators login only
# 2: Users login only
# 3: New users registration only
# 4: Both, users login and new users registration only
# 5: Administrators and users login only
# 6: Administrators and new users registration only
# 7: Everywhere on all login options (Admins and Users)
# NOTE: If you aren't sure set this value to 0
# $subscription_url: If you manage subscriptions on your site, you
# must write here the url of the subscription
# information/renewal page. This will send by
# email if set.
# $admin_file: Administration panel filename. "admin" by default for
# "admin.php". To improve security please rename the file
# "admin.php" and change the $admin_file value to the
# new filename (without the extension .php)
# $advanced_editor: On/Off the advanced WYSIWYG text editor for admins
# 0: Off, will use the default simple text editor
# 1: On, will use the full featured text editor
######################################################################
$dbhost = "MySQL75.secureserver.net";
$dbuname = "nuke_josh";
$dbpass = "--";
$dbname = "nuke_josh";
$prefix = "nuke";
$user_prefix = "nuke";
$dbtype = "MySQL";
$sitekey = "S·kQSd5%W@Y62-dm29-.-39.3a8sUf+W9";
$gfx_chk = 0;
$subscription_url = "";
$admin_file = "admin";
$advanced_editor = 0;
|
i dont know what half this stuff is or what it does. Help!
My host is Godaddy.com
Anything that says -- means I have somethin there i dun wanna show. If u need to know it to help ill pm u it, |
Last edited by Joshua15864 on Sun Nov 20, 2005 1:40 pm; edited 3 times in total |
|
|
 |
Joshua15864

|
Posted:
Sun Nov 20, 2005 1:31 pm |
|
Bah, I have good but bad news. I worked on the config file a bit, but now it's just blank. |
|
|
|
 |
Raven
Site Admin/Owner

Joined: Aug 27, 2002
Posts: 17088
|
Posted:
Sun Nov 20, 2005 1:52 pm |
|
In your config file, set $display_errors = TRUE; and see if it give you the real error. |
|
|
|
 |
Joshua15864

|
Posted:
Sun Nov 20, 2005 1:56 pm |
|
theres no where that says display error. I'm assuming you're talking about this.
Code:
$reasons = array("As Is","Offtopic","Flamebait","Troll","Redundant","Insighful","Interesting","Informative","Funny","Overrated","Underrated");
$badreasons = 4;
$AllowableHTML = array("b"=>1,"i"=>1,"u"=>1,"div"=>2,"a"=>2,"em"=>1,"br"=>1,"strong"=>1,"blockquote"=>1,"tt"=>1,"li"=>1,"ol"=>1,"ul"=>1);
$CensorList = array("f***","cunt","f***er","f***ing","pussy","cock","c0ck","cum","twat","clit","bitch","fuk","fuking","motherfucker");
$tipath = "images/topics/";
// Debug control to see PHP generated errors. Set this to 0 to remove the errors display, set to 1 to see all errors
ini_set('display_errors','0');
|
|
|
|
|
 |
Raven

|
Posted:
Sun Nov 20, 2005 2:01 pm |
|
Bad assumption . I thought that was in 7.8 also. Instead, add this to your config.php
ini_set('display_errors',1); |
|
|
|
 |
Joshua15864

|
Posted:
Sun Nov 20, 2005 2:02 pm |
|
okay
now we're getting somewhere. well u atleast, lol.
Warning: head(themes/DeepBlue/theme.php): failed to open stream: No such file or directory in /home/content/J/o/s/Joshua15864/html/portal/html/header.php on line 32
Warning: head(themes/DeepBlue/theme.php): failed to open stream: No such file or directory in /home/content/J/o/s/Joshua15864/html/portal/html/header.php on line 32
Warning: head(): Failed opening 'themes/DeepBlue/theme.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/content/J/o/s/Joshua15864/html/portal/html/header.php on line 32
Fatal error: Call to undefined function: themeheader() in /home/content/J/o/s/Joshua15864/html/portal/html/header.php on line 52 |
|
|
|
 |
Raven

|
Posted:
Sun Nov 20, 2005 2:04 pm |
|
That means you are not connecting with the database or the config TABLE is missing. |
|
|
|
 |
Joshua15864

|
Posted:
Sun Nov 20, 2005 2:04 pm |
|
are you currently on yim? it would probably be easier to work on this that way. if you'd like. |
|
|
|
 |
Joshua15864

|
Posted:
Sun Nov 20, 2005 2:05 pm |
|
I have no idea what that means bro. |
|
|
|
 |
Joshua15864

|
Posted:
Sun Nov 20, 2005 2:07 pm |
|
Could I give you mylogin stuff for u to put it in? or to atleast look? |
|
|
|
 |
Raven

|
Posted:
Sun Nov 20, 2005 2:08 pm |
|
It means your settings in your config.php file are not correct according to the settings in your MySQL database. Either your names are not the same or your passwords or a combination of the above. Make sure that you have the DeepBlue folder in your themes folder. Use phpMyAdmin and make sure that there is a table called nuke_config in your database. |
|
|
|
 |
Joshua15864

|
Posted:
Sun Nov 20, 2005 2:11 pm |
|
yup, there is a nuke config.
There is nothing in my portal/html/themese folder except index.htm. |
|
|
|
 |
Raven

|
Posted:
Sun Nov 20, 2005 2:12 pm |
|
There's your problem. Your files have not been correctly ftp'd |
|
|
|
 |
Joshua15864

|
Posted:
Sun Nov 20, 2005 2:15 pm |
|
blah
so basically, reupload everything? |
|
|
|
 |
Raven

|
Posted:
Sun Nov 20, 2005 2:17 pm |
|
Well, probably the best thing, yes. Look in some of the other folders. If they are blank, then absolutely yes. Otherwise, you could try just uploading the DeepBlue folder. |
|
|
|
 |
Joshua15864

|
Posted:
Sun Nov 20, 2005 2:45 pm |
|
im reuploading it.... ill probably be back in 20 mins with another problem. watch for another post plz . |
|
|
|
 |
Joshua15864

|
Posted:
Sun Nov 20, 2005 2:51 pm |
|
Okay, now its there, but theres a error on top of it, and some images arent working, go look.
Warning: get_lang(modules/News/language/lang-english.php): failed to open stream: No such file or directory in /home/content/J/o/s/Joshua15864/html/portal/html/mainfile.php on line 229
Warning: get_lang(): Failed opening 'modules/News/language/lang-english.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/content/J/o/s/Joshua15864/html/portal/html/mainfile.php on line 229 |
|
|
|
 |
Joshua15864

|
Posted:
Sun Nov 20, 2005 2:58 pm |
|
Blah, I messed it up even more... i reuploaded mainfile.php and now the page is gone and i got this error..
Parse error: parse error, unexpected $ in /home/content/J/o/s/Joshua15864/html/portal/html/mainfile.php on line 1056 |
|
|
|
 |
Joshua15864

|
Posted:
Sun Nov 20, 2005 3:00 pm |
|
Now the site is working, but these two errors are on top, and some of the images arent working.
Warning: get_lang(modules/News/language/lang-english.php): failed to open stream: No such file or directory in /home/content/J/o/s/Joshua15864/html/portal/html/mainfile.php on line 229
Warning: get_lang(): Failed opening 'modules/News/language/lang-english.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/content/J/o/s/Joshua15864/html/portal/html/mainfile.php on line 229 |
|
|
|
 |
Raven

|
Posted:
Sun Nov 20, 2005 3:19 pm |
|
You are still missing files. You need to either fix your ftp client or get a better one. |
|
|
|
 |
Joshua15864

|
Posted:
Sun Nov 20, 2005 3:20 pm |
|
okay, its all fixed EXCEPT, none of my images in any skins work. |
|
|
|
 |
Raven

|
Posted:
Sun Nov 20, 2005 3:25 pm |
|
Right mouse over the broken image and see what location the image is supposed to be. Then verify that the image is really there. |
|
|
|
 |
Joshua15864

|
Posted:
Sun Nov 20, 2005 3:31 pm |
|
wow, it just started working like magic
i dont know, its all working now though. wootang |
|
|
|
 |
Joshua15864

|
Posted:
Sun Nov 20, 2005 3:33 pm |
|
said that to early, now when i enter prefrences, i get a javascript alert saying: error couldnt find hte template function: TinyMCE_Basic_getEditorTemplate |
|
|
|
 |
Raven

|
Posted:
Sun Nov 20, 2005 3:35 pm |
|
I hesitated early on to tell you this because I didn't want to discourage you. But, I (we) do NOT recommend any version of phpnuke later than v7.6pl3.1 and really we don't offer support for the later releases because they are so crappy and error prone. I recommend that you back down to v7.6. |
|
|
|
 |
|