Icy Phoenix

     
 


Post new topic  Reply to topic 
Page 1 of 1
 
 
Reply with quote Download Post 
Post [Icy Phoenix Debug] PHP Notice: In File /includes/functions.php On Line 4035 - 4046 
 
Hi, i have a problem:

Code: [Download] [Hide]
  1. [Icy Phoenix Debug] PHP Notice: in file /includes/functions.php on line 4035: readdir() expects parameter 1 to be resource, boolean given 
  2. [Icy Phoenix Debug] PHP Notice: in file /includes/functions.php on line 4046: closedir() expects parameter 1 to be resource, boolean given 


Link to my site and version in my signature.

Zona-Latina.net
Icy Phoenix 2.0.0.86
 




____________
www.zona-latina.net
Icy Phoenix 2.0.0.86
 
alexandroSend private message  
Back to topPage bottom
Icy Phoenix is an open source project, you can show your appreciation and support future development by donating to the project.

Support us
 
Reply with quote Download Post 
Post Re: [Icy Phoenix Debug] PHP Notice: In File /includes/functions.php On Line 4035 - 4046 
 
Please enlighten us with more info Alexandro, like:

- on what url do you get the error?
- have you recently upgraded to the latest version (from GIT or the latest release from this site)
- have recently changed anything else?
- recently changed the Font?
- etc etc.. anything you can think of that may help us zoom into the problem

I for one don't find the error at multiple pages..not even when viewing posts (where I expeted it to appear).



 
Off Topic
:
BTW I'm going tp have to ask MG to make sure you are trully allowed to post those links here, I'll let you, because I'm not sure how strict these rules are exactly

 




____________
www.DutchaGoGo.com (development/under construction ...Forever?¿?)
 
Joshua203Send private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: [Icy Phoenix Debug] PHP Notice: In File /includes/functions.php On Line 4035 - 4046 
 
- on what url do you get the error? When I post a new post, when delete post. wen clear cache.
- have you recently upgraded to the latest version (from GIT or the latest release from this site),  Its a upgrade fronm Icy  1.1.0.15, 1.2.0.27 & 1.3.0.53a; but this worked perfectly before the hosting was moved
- have recently changed anything else?  Yes the hosting changed of server
- recently changed the Font?  No

Thank you for the help. Forgive my english.  
 




____________
www.zona-latina.net
Icy Phoenix 2.0.0.86
 
alexandroSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: [Icy Phoenix Debug] PHP Notice: In File /includes/functions.php On Line 4035 - 4046 
 
Sofar your English is OK if you like finding help in (.well let's say..) Spannish ..you can visit http://www.icyphoenix.es/

Have you already tried the DB Maintenance tools in ACP?

DB And Security >> Database Maintenance

Don't do ALL blindly
Only do the checks on posts and mayby do a repair and optimise (whatver you do.. do not reset anything).
 




____________
www.DutchaGoGo.com (development/under construction ...Forever?¿?)
 
Joshua203Send private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: [Icy Phoenix Debug] PHP Notice: In File /includes/functions.php On Line 4035 - 4046 
 
Joshua203 wrote: [View Post]
Sofar your English is OK if you like finding help in (.well let's say..) Spannish ..you can visit http://www.icyphoenix.es/

Have
Thanks i Posted there too.
 




____________
www.zona-latina.net
Icy Phoenix 2.0.0.86
 
alexandroSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: [Icy Phoenix Debug] PHP Notice: In File /includes/functions.php On Line 4035 - 4046 
 
Post above edited after your reply, please read again... Sorry
 




____________
www.DutchaGoGo.com (development/under construction ...Forever?¿?)
 
Joshua203Send private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: [Icy Phoenix Debug] PHP Notice: In File /includes/functions.php On Line 4035 - 4046 
 
alexandro wrote: [View Post]
Thanks i Posted there too.


Please let us know if the pannish speaking Team can help you solve your problem
 




____________
www.DutchaGoGo.com (development/under construction ...Forever?¿?)
 
Joshua203Send private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: [Icy Phoenix Debug] PHP Notice: In File /includes/functions.php On Line 4035 - 4046 
 
Joshua203 wrote: [View Post]
Please let us know if they (Spannish speaking Team) can help you solve your problem

Ok. i tried the DB Maintenance tools in ACP... But the Problem continue

I escaped this:

Code: [Download] [Hide]
  1. //$cache_dirs_array = array(MAIN_CACHE_FOLDER, CMS_CACHE_FOLDER, FORUMS_CACHE_FOLDER, POSTS_CACHE_FOLDER, SQL_CACHE_FOLDER, TOPICS_CACHE_FOLDER, USERS_CACHE_FOLDER); 
  2.     $cache_dirs_array = ((empty($cache_folder) || !in_array($cache_folder, $cache_dirs_array)) ? $cache_dirs_array : array($cache_folder)); 
  3.     $files_counter = 0; 
  4.     for ($i = 0; $i < sizeof($cache_dirs_array); $i++) 
  5.     { 
  6.         $dir = $cache_dirs_array[$i]; 
  7.         $dir = ((is_dir($dir)) ? $dir : @phpbb_realpath($dir)); 
  8.         $res = opendir($dir); 
  9.         while(($file = readdir($res)) !== false) 
  10.         { 
  11.             $file_full_path = $dir . $file; 
  12.             if (!in_array($file, $skip_files) && !is_dir($file_full_path)) 
  13.             { 
  14.                 @chmod($file_full_path, 0777); 
  15.                 $res2 = @unlink($file_full_path); 
  16.                 $files_counter++; 
  17.             } 
  18.             if (($files_per_step > 0) && ($files_counter >= $files_per_step)) 
  19.             { 
  20.                 closedir($res); 
  21.                 return $files_per_step; 
  22.             } 
  23.         } 
  24.         closedir($res); 
  25.     } 
and worked, but i don't know which is the consequense
 




____________
www.zona-latina.net
Icy Phoenix 2.0.0.86
 
alexandroSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: [Icy Phoenix Debug] PHP Notice: In File /includes/functions.php On Line 4035 - 4046 
 
No you should not escape that, it is containing both errors though (in both readdir and closedir)  but it is expecting a 1 and it's getting a true or false.. (or something like that   )
 




____________
www.DutchaGoGo.com (development/under construction ...Forever?¿?)
 
Joshua203Send private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: [Icy Phoenix Debug] PHP Notice: In File /includes/functions.php On Line 4035 - 4046 
 
Joshua203 wrote: [View Post]
No you should not escape that, it is containing both errors (in both readdir and closedir) though but it is expecting a 1 and it's getting a true or false.. (or something like that   )

I know this... i correct that although the problem return :'(
 




____________
www.zona-latina.net
Icy Phoenix 2.0.0.86
 
alexandroSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: [Icy Phoenix Debug] PHP Notice: In File /includes/functions.php On Line 4035 - 4046 
 
Let's wait for someone smart
 




____________
www.DutchaGoGo.com (development/under construction ...Forever?¿?)
 
Joshua203Send private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: [Icy Phoenix Debug] PHP Notice: In File /includes/functions.php On Line 4035 - 4046 
 
Yeeees the problem was the cache directory... This was empty i upload newly this directory and work perfectly Thanks for your support
 




____________
www.zona-latina.net
Icy Phoenix 2.0.0.86
 
alexandroSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: [Icy Phoenix Debug] PHP Notice: In File /includes/functions.php On Line 4035 - 4046 
 
Congratulations on fixing this issue by yourself I'll mark this as solved for you

PS.. Please next time post in one forum and give it a week at least,.. if no fix or reply ..post here.
Note: you are allowed to mark your own thread as fixed or solved, using the Title Edit button (Bottom Right of page)
 




____________
www.DutchaGoGo.com (development/under construction ...Forever?¿?)
 
Joshua203Send private messageVisit poster's website  
Back to topPage bottom
Post new topic  Reply to topic  Page 1 of 1
 


Display posts from previous:    

HideWas this topic useful?

Link this topic
URL
BBCode
HTML




 
Permissions List
You cannot post new topics
You cannot reply to topics
You cannot edit your posts
You cannot delete your posts
You cannot vote in polls
You cannot attach files
You can download files
You cannot post calendar events


  

 

  cron