Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Installation Help
Author Message
Joshua15864
Hangin' Around


Joined: Nov 20, 2005
Posts: 30

PostPosted: Sun Nov 20, 2005 12:27 pm Reply with quote

Okay, basically, my site is Only registered users can see links on this board! Get registered or login! . 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 
View user's profile Send private message
Joshua15864
PostPosted: Sun Nov 20, 2005 1:31 pm Reply with quote

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: 17086

PostPosted: Sun Nov 20, 2005 1:52 pm Reply with quote

In your config file, set $display_errors = TRUE; and see if it give you the real error.
 
View user's profile Send private message
Joshua15864
PostPosted: Sun Nov 20, 2005 1:56 pm Reply with quote

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
PostPosted: Sun Nov 20, 2005 2:01 pm Reply with quote

Bad assumption ROTFL. I thought that was in 7.8 also. Instead, add this to your config.php
ini_set('display_errors',1);
 
Joshua15864
PostPosted: Sun Nov 20, 2005 2:02 pm Reply with quote

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
PostPosted: Sun Nov 20, 2005 2:04 pm Reply with quote

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

are you currently on yim? it would probably be easier to work on this that way. if you'd like.
 
Joshua15864
PostPosted: Sun Nov 20, 2005 2:05 pm Reply with quote

I have no idea what that means bro.
 
Joshua15864
PostPosted: Sun Nov 20, 2005 2:07 pm Reply with quote

Could I give you mylogin stuff for u to put it in? or to atleast look?
 
Raven
PostPosted: Sun Nov 20, 2005 2:08 pm Reply with quote

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
PostPosted: Sun Nov 20, 2005 2:11 pm Reply with quote

yup, there is a nuke config.

There is nothing in my portal/html/themese folder except index.htm.
 
Raven
PostPosted: Sun Nov 20, 2005 2:12 pm Reply with quote

There's your problem. Your files have not been correctly ftp'd
 
Joshua15864
PostPosted: Sun Nov 20, 2005 2:15 pm Reply with quote

blah

so basically, reupload everything?
 
Raven
PostPosted: Sun Nov 20, 2005 2:17 pm Reply with quote

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
PostPosted: Sun Nov 20, 2005 2:45 pm Reply with quote

im reuploading it.... ill probably be back in 20 mins with another problem. watch for another post plz Smile.
 
Joshua15864
PostPosted: Sun Nov 20, 2005 2:51 pm Reply with quote

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
PostPosted: Sun Nov 20, 2005 2:58 pm Reply with quote

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
PostPosted: Sun Nov 20, 2005 3:00 pm Reply with quote

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
PostPosted: Sun Nov 20, 2005 3:19 pm Reply with quote

You are still missing files. You need to either fix your ftp client or get a better one.
 
Joshua15864
PostPosted: Sun Nov 20, 2005 3:20 pm Reply with quote

okay, its all fixed EXCEPT, none of my images in any skins work.
 
Raven
PostPosted: Sun Nov 20, 2005 3:25 pm Reply with quote

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
PostPosted: Sun Nov 20, 2005 3:31 pm Reply with quote

wow, it just started working like magic
i dont know, its all working now though. wootang
 
Joshua15864
PostPosted: Sun Nov 20, 2005 3:33 pm Reply with quote

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
PostPosted: Sun Nov 20, 2005 3:35 pm Reply with quote

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.
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Installation Help

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 ©