https://www.icyphoenix.com/viewtopic.php?f=35&t=5809 ----------------------------------- tbird412 Thu 07 May, 2009 07:44 Broke My ACP - Blank With Two Errors Up Top ... ----------------------------------- Here's all I did so far ... First, I had my site all set up today and was happy. After a few of my friends posting threads and helping me check things out, I finally decided I was ready to delete the initial "Test" forum and category that come with the install. That broke my entire site (ACP and regular) causing a blank white page on both. I searched the forums like every good noob should do, and found the solution of deleting everything in /cache/ except htaccess and index. I did so and the site was working fine again. I went to the ACP to continue customizing my new site and suddenly my ACP does not work. It is a blank white screen with the following errors: [code linenumbers=false][Icy Phoenix Debug] PHP Notice: in file /includes/functions.php on line 2997: readdir(): supplied argument is not a valid Directory resource [Icy Phoenix Debug] PHP Notice: in file /includes/functions.php on line 3012: closedir(): supplied argument is not a valid Directory resource[/code] The site still works fine. I went and re-did all my CHMODs just in case. But now I am stuck as to what to do. ----------------------------------- Chaotic Thu 07 May, 2009 07:54 Re: Broke My ACP - Blank With Two Errors Up Top ... ----------------------------------- I'm definitely not one to give great suggestions when it comes to coding, but you could always give this a try. Backup your current /includes/functions.php file first and place it somewhere safe. Now upload a new, fresh copy of functions.php to your server. As always, be sure to clear the entire cache. If that doesn't work, we'll see what some other guys suggest here. ----------------------------------- tbird412 Thu 07 May, 2009 08:02 Re: Broke My ACP - Blank With Two Errors Up Top ... ----------------------------------- Re-uploaded the file .... cleared all the files in /cache/ again except for htaccess and index .... Still no good. Still get a blank white page with this error when trying to go to my ACP: [code linenumbers=false][Icy Phoenix Debug] PHP Notice: in file /includes/functions.php on line 2997: readdir(): supplied argument is not a valid Directory resource [Icy Phoenix Debug] PHP Notice: in file /includes/functions.php on line 3012: closedir(): supplied argument is not a valid Directory resource[/code] EXTRA: Just in case it helps any, here's what I get from "View Source" of the page itself (maybe see how far in the code it gets before an error. But appears to get nowhere) [code linenumbers=false][Icy Phoenix Debug] PHP Notice: in file /includes/functions.php on line 2997: readdir(): supplied argument is not a valid Directory resource
[Icy Phoenix Debug] PHP Notice: in file /includes/functions.php on line 3012: closedir(): supplied argument is not a valid Directory resource
Icy Phoenix Administration <body bgcolor="#FFFFFF" text="#000000"><p>Sorry, your browser doesn't seem to support frames</p></body> [/code] ----------------------------------- Lopalong Thu 07 May, 2009 08:57 Re: Broke My ACP - Blank With Two Errors Up Top ... ----------------------------------- Just ensure that you are uploading all of the files in binary and NOT ascii, and don't chmod anything unless the install script tells you that something is not readable or writeable. ;) ----------------------------------- tbird412 Thu 07 May, 2009 16:47 Re: Broke My ACP - Blank With Two Errors Up Top ... ----------------------------------- Yes and yes ----------------------------------- DWho Thu 07 May, 2009 17:08 Re: Broke My ACP - Blank With Two Errors Up Top ... ----------------------------------- I am assuming you are emptying your cache file manually instead of using the cache options in the ACP... if yes then you deleted some important folders from the cache folder.... you need to delete your cache folder from your server and upload a fresh one from the download from this site... you should then be able to login to your ACP and delete the cache using the link under CONFIGURATION/CLEAR CACHE As you are using RC1 careful when reading older topics as a lot of the code has changed in this version... hope that helps :mrgreen: :mrgreen: ----------------------------------- tbird412 Thu 07 May, 2009 17:19 Re: Broke My ACP - Blank With Two Errors Up Top ... ----------------------------------- DWho, you are a god! I freaking love you. ----------------------------------- DWho Thu 07 May, 2009 17:33 Re: Broke My ACP - Blank With Two Errors Up Top ... ----------------------------------- [quote user="tbird412" post="39152"]DWho, you are a god! I freaking love you.[/quote] :oops: :oops: I guess it is working.... :mrgreen: :mrgreen: ----------------------------------- tbird412 Thu 07 May, 2009 17:39 Re: Broke My ACP - Blank With Two Errors Up Top ... ----------------------------------- Sure is! And the more I dig deeper into IP the more I love it. This is incredible. Why is this guy not charging? I would have easily paid $100 for something like this. Thanks though DWho. You've solved every problem I have had. If I ever go to the UK again I'll buy you a beer. Though I doubt I will go back to England. That place really messed me up last time :(