Admin problem - NBS






 

 

Admin problem - NBS

View Full Version : Admin problem


Circle
12-Aug-2006, 03:46 PM
I just installed beta 7 and got it running. Everything was working fine I even tested everything but now some one has signed up and the following happened.

at first I got warnings in the admin cp and it told me I didn't had the latest version.

now when I try to go to the admin page I get the following error:

Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /home/forumfor/public_html/nbs/class_nbs.php on line 230
Sorry, you do not have permission to access this Admin Panel. If you think this is a mistake, please contact the site owner.

When I try to reach the forum the person created I get this error:

Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /home/forumfor/public_html/nbs/class_nbs.php on line 230

Warning: Cannot modify header information - headers already sent by (output started at /home/forumfor/public_html/nbs/class_nbs.php:230) in /home/forumfor/public_html/handler.php on line 51

Warning: Cannot modify header information - headers already sent by (output started at /home/forumfor/public_html/nbs/class_nbs.php:230) in /home/forumfor/public_html/handler.php on line 107

This is shown on the sign-up page "new_forum.php":

Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /home/forumfor/public_html/nbs/class_nbs.php on line 230

Just as a note I deleted index.php and replaced it with my own index.html couse I couldn't find any function for this file but the testing went ok without it could this be the problem?

I changed files according these this topics: (in order the topics are listed)

http://www.nbsdesignz.com/forums/showthread.php?t=9070
http://www.nbsdesignz.com/forums/showthread.php?t=9074

Circle
12-Aug-2006, 04:04 PM
Seems it now has fixed itself.:hmm:

Getting these errors now in the main admin panel.

Warning: fopen() [function.fopen]: php_network_getaddresses: getaddrinfo failed: Temporary failure in name resolution in /home/forumfor/public_html/nbs/admin.php on line 374

Warning: fopen(http://www.version.nbsdesignz.com/index.php?script=multi-forums_phpbb&version=1.0.0+Beta+7) [function.fopen]: failed to open stream: Resource temporarily unavailable in /home/forumfor/public_html/nbs/admin.php on line 374

Warning: fread(): supplied argument is not a valid stream resource in /home/forumfor/public_html/nbs/admin.php on line 376

Warning: fclose(): supplied argument is not a valid stream resource in /home/forumfor/public_html/nbs/admin.php on line 378

And still tells me this while I'm running beta7:

Your installation does not seem to be up to date. Updates are available for your version of NBSdesignz Multi-Forums phpBB, please visit http://www.nbsdesignz.com/ to obtain the latest version.
The latest available version is. You are running 1.0.0 Beta 7.

Tryed going to the created forum gives a blank page.

Circle
12-Aug-2006, 04:28 PM
New forum works again fixed it by ru-uploading index.php however I still get the errors in the main admin panel.

Derek
12-Aug-2006, 04:34 PM
Seems it now has fixed itself.:hmm:

Getting these errors now in the main admin panel.

Warning: fopen() [function.fopen]: php_network_getaddresses: getaddrinfo failed: Temporary failure in name resolution in /home/forumfor/public_html/nbs/admin.php on line 374

Warning: fopen(http://www.version.nbsdesignz.com/index.php?script=multi-forums_phpbb&version=1.0.0+Beta+7) [function.fopen]: failed to open stream: Resource temporarily unavailable in /home/forumfor/public_html/nbs/admin.php on line 374

Warning: fread(): supplied argument is not a valid stream resource in /home/forumfor/public_html/nbs/admin.php on line 376

Warning: fclose(): supplied argument is not a valid stream resource in /home/forumfor/public_html/nbs/admin.php on line 378

And still tells me this while I'm running beta7:

Your installation does not seem to be up to date. Updates are available for your version of NBSdesignz Multi-Forums phpBB, please visit http://www.nbsdesignz.com/ to obtain the latest version.
The latest available version is. You are running 1.0.0 Beta 7.

Tryed going to the created forum gives a blank page.
That error means your host doesn't allow fopen() to connect to URLs. The script first tries to see if curl is installed, and if it is it uses that, if not it tries fopen. Since both won't work you will have to just disable the version check script. As for the other errors, I will look into those.

Derek

Circle
12-Aug-2006, 04:41 PM
How do I disable it?

Circle
12-Aug-2006, 05:03 PM
Stupid me found it allready thanks.

Derek
12-Aug-2006, 05:07 PM
Ok, so do those errors still show as well (the other ones)?

Circle
12-Aug-2006, 05:53 PM
No everything working fine now.

Derek
12-Aug-2006, 10:41 PM
Ok good :).