|
|
Joined: Apr 2003
Posts: 359
Enthusiast
|
Enthusiast
Joined: Apr 2003
Posts: 359 |
Since upgrading to v6.5, when I click on the Control Panel link, I get the following error at the top of the page:
Warning: readdir(): supplied argument is not a valid Directory resource in /home/smoknz28/public_html/ubbthreads/admin/login.php on line 179
I can still do all the admin functions....but I'd like to fix this error. Any help on this is greatly appreciated.
|
|
|
|
Joined: Aug 2004
Posts: 173
Member
|
Member
Joined: Aug 2004
Posts: 173 |
What does line 179 on admin/login.php say?
|
|
|
|
Joined: Apr 2003
Posts: 359
Enthusiast
|
Enthusiast
Joined: Apr 2003
Posts: 359 |
Oops sorry....didn't see your response til now.
On line 179: SELECT SUM(Bo_Total)
|
|
|
|
Joined: Apr 2003
Posts: 359
Enthusiast
|
Enthusiast
Joined: Apr 2003
Posts: 359 |
Eeesh, also, I found that I'm getting an error from line 357 which reads:
Warning: readdir(): supplied argument is not a valid Directory resource in /home/smoknz28/public_html/ubbthreads/admin/login.php on line 357
Here's what I have on line 357: while ($file = readdir($dir)) {
|
|
|
|
Joined: Nov 2001
Posts: 10,369
I type Like navaho
|
I type Like navaho
Joined: Nov 2001
Posts: 10,369 |
There shouldn't be a line 357 in that fix - a stock 6.5 /admin/login.php only has 295 lines. But basically readdir is trying to read the files in your mysql log directory and admin log directory. Make sure the paths to these directories are setup correctly in your config file, and that they are readable.
|
|
|
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
|
|
Posts: 1,157
Joined: July 2001
|
|
Forums63
Topics37,573
Posts293,925
Members13,849
|
Most Online5,166 Sep 15th, 2019
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|
|