| Author |
Message |
medigangsta
Nuke Cadet


Joined: Jan 10, 2004
Posts: 4
|
Posted:
Fri Jul 16, 2004 11:03 am |
  |
First off, thanks for the reply.
We weren't using persistent connections until my colleague turned them on during another crash earlier today, and it seemed to - at least temporarily - solve our problem.
Why is there no need for persistent connections? We seem to be performing better with them on. |
|
|
   |
 |
vjg
Captain


Joined: Oct 26, 2003
Posts: 553
|
Posted:
Fri Jul 16, 2004 6:01 pm |
  |
You can run out fast with persistent connections. The host I'm on, lunarpages.com, runs all mySQL databases set to 50 connections and specifies that you shoul *not* use persistent connections. I never see complaints about running out of connections.
- Virgil |
_________________
 |
|
   |
 |
buildingmaster01
Nuke Soldier


Joined: Aug 03, 2004
Posts: 16
|
Posted:
Tue Aug 03, 2004 9:23 am |
  |
I have the Fatal error: Call to undefined function: message_die() in /home/directory/public_html/db/db.php on line 88 problem.
I just moved all my site's files to a new server. My site has CPanel/phpmyadmin access now, so if there's anything I need to set-up in there, please tell me.
I changed the config.php file's username and password for the new server. How can I figure out what the host and dbname is suppose to be???
I have MySQL as the type, and both the prefix/user prefix are nuke. MySQL is said to be working perfectly on the server.
Please help ASAP, thank you in advance. |
|
|
   |
 |
buildingmaster01
Nuke Soldier


Joined: Aug 03, 2004
Posts: 16
|
Posted:
Tue Aug 03, 2004 1:23 pm |
  |
I read up on how to install phpnuke with phpmyadmin. The error I posted above is gone. I now have these errors:
Warning: head(themes//theme.php): failed to open stream: No such file or directory in /home/directory/public_html/header.php on line 31
Warning: head(): Failed opening 'themes//theme.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/directory/public_html/header.php on line 31
Fatal error: Call to undefined function: themeheader() in /home/directory/public_html/header.php on line 47 |
|
|
   |
 |
Evaders99
Site Admin


Joined: Aug 17, 2003
Posts: 12349
|
Posted:
Tue Aug 03, 2004 1:23 pm |
  |
|
     |
 |
buildingmaster01
Nuke Soldier


Joined: Aug 03, 2004
Posts: 16
|
Posted:
Tue Aug 03, 2004 1:28 pm |
  |
Thanks, I got the line 88 problem solved. Do you have any suggestions as to the other errors? |
|
|
   |
 |
YMHEE_BCEX
Nuke Cadet


Joined: Aug 16, 2004
Posts: 5
|
Posted:
Sun Sep 12, 2004 5:19 pm |
  |
I read through this thread, and I am puzzled... Nobody mentions that this message_die() or line 88 problem is really a bug in phpNuke that needs to be fixed. Not only it's a pesky bug, it obscures the real problem. The whole thread is dedicated to how to get to the real problem that is obscured by this bug.
The solutions is to include functions.php in db.php.
| Code: |
require_once("".$the_include."includes/functions.php");
|
|
|
|
   |
 |
ArtGuy
Nuke Cadet


Joined: Sep 06, 2003
Posts: 6
|
Posted:
Thu Oct 21, 2004 7:47 pm |
  |
Hello there,
I added this:
require_once("".$the_include."includes/functions.php");
line in db.php and it created another problem. It stopped showing me the members' list and gave this error message:
Fatal error: Cannot redeclare get_db_stat() (previously declared in /home/cool/public_html/includes/functions.php:64) in /home/cool/public_html/includes/functions.php on line 64
So I had to remove it back. After the removal of it the members' list got back to normal.
Any other solution for the '....line 88' bug, please do let us. |
|
|
   |
 |
arnoldkrg
Major


Joined: Aug 03, 2003
Posts: 937
Location: United Kingdom
|
Posted:
Fri Oct 22, 2004 3:15 am |
  |
The message die problem was fixed from PHP-Nuke 7.2 onwards. The message that is displayed now reads
| Quote: |
| There seems to be a problem with the MySQL server, sorry for the inconvenience.<br><br>We should be back shortly.</center></b> |
So even though old versions of php-nuke were displaying a garbled error message, the problem always was, and still is the same. There is a problem connecting to the database. Any one of the usual culprits could be to blame. Some of these usual culprits are as follows
The database is not there
The username is wrong
The password is wrong
The user doesnt have permission to access the database.
The spelling or case of the details in config.php are wrong.
The dbase type is set as MySQL in config.php and the dbase is not MySQL
You didnt use a Decent Text Editor to edit config.php. |
_________________
 |
|
     |
 |
nikoholic
Nuke Soldier


Joined: Nov 19, 2004
Posts: 10
|
Posted:
Fri Nov 19, 2004 9:19 am |
  |
just got finished installing nuke 6.5 on the server. I got it going for a minute then the errors started coming up and I'm stuck. Getting this.
| Quote: |
Warning: head(themes/CVS/theme.php): failed to open stream: No such file or directory in /usr/home/knightbree/domains/knightbreeddnb.com/public_html/nuke/header.php on line 144
Warning: head(): Failed opening 'themes/CVS/theme.php' for inclusion (include_path='.:/usr/local/lib/php') in /usr/home/knightbree/domains/knightbreeddnb.com/public_html/nuke/header.php on line 144
Fatal error: Call to undefined function: themeheader() in /usr/home/knightbree/domains/knightbreeddnb.com/public_html/nuke/header.php on line 168 |
read it had something to do with permissions but that wasn't true, maybe it's something with the server...
Any ideas???  |
|
|
   |
 |
hubson
Sergeant


Joined: Feb 21, 2004
Posts: 103
Location: UK
|
Posted:
Sun Nov 21, 2004 3:51 am |
  |
sounds to me the theme isn't set up right, check to see if the theme.php file is in there |
|
|
        |
 |
oldsteel68
Corporal


Joined: Jan 19, 2005
Posts: 61
|
Posted:
Sat Jan 22, 2005 11:44 am |
  |
im getting that die error. Im installing 6.5 . Im guessing the problem is in my config. How do i know what my username and pass is? Also sitekey?
Thanks.. |
|
|
   |
 |
maho
Corporal


Joined: Aug 15, 2004
Posts: 54
|
Posted:
Mon Jan 24, 2005 8:38 pm |
  |
This was strange ! ...........
my username and password on config changed to my admin password and username to db name "which is different then db pass or username when logging into mysql" sooooooooooooo explain how can my pass and username get changed ? on config.php ? |
|
|
   |
 |
egawab
Nuke Cadet


Joined: Jan 27, 2005
Posts: 1
|
Posted:
Thu Jan 27, 2005 1:22 am |
  |
|
   |
 |
eastcoastgamers
Corporal


Joined: Mar 12, 2004
Posts: 55
Location: Maine
|
Posted:
Sun Apr 24, 2005 8:20 am |
  |
i had the error that started this thread then i changed the line in db.php to this:
// message_die(CRITICAL_ERROR, "Could not connect to the database");
die("Could not connect to the database \n" . mysql_errno() . ": " . mysql_error(). "\n");
now my error is:
Could not connect to the database 1129: Host 'localhost.localdomain' is blocked because of many connection errors. Unblock with 'mysqladmin flush-hosts'
i'm no expert when it comes to this stuff. I'm not sure what flush-hosts is or what can do to correct ths error so i can view my site again. site has been up for a while now and just started having this problem. |
_________________
 |
|
         |
 |
|
|