|
Page 1 of 1
|
alexandro
Joined: July 2008
Posts: 12
|
[Icy Phoenix Debug] PHP Notice: In File /includes/functions.php On Line 4035 - 4046
Hi, i have a problem:
- [Icy Phoenix Debug] PHP Notice: in file /includes/functions.php on line 4035: readdir() expects parameter 1 to be resource, boolean given
- [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
|
#1 Fri 29 Mar, 2013 23:59 |
|
Sponsors
|
Icy Phoenix is an open source project, you can show your appreciation and support future development by donating to the project.
|
|
Joshua203
Joshua 203
Dutch A Go Go
Joined: August 2008
Posts: 1754
Location: Earth, Europe, the Netherlands, Rotterdam
|
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).
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?¿?)
|
#2 Sat 30 Mar, 2013 00:48 |
|
alexandro
Joined: July 2008
Posts: 12
|
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
|
#3 Sat 30 Mar, 2013 02:04 |
|
Joshua203
Joshua 203
Dutch A Go Go
Joined: August 2008
Posts: 1754
Location: Earth, Europe, the Netherlands, Rotterdam
|
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?¿?)
|
#4 Sat 30 Mar, 2013 03:18 |
|
alexandro
Joined: July 2008
Posts: 12
|
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
Thanks i Posted there too.
____________ www.zona-latina.net
Icy Phoenix 2.0.0.86
|
#5 Sat 30 Mar, 2013 03:21 |
|
Joshua203
Joshua 203
Dutch A Go Go
Joined: August 2008
Posts: 1754
Location: Earth, Europe, the Netherlands, Rotterdam
|
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?¿?)
|
#6 Sat 30 Mar, 2013 03:32 |
|
Joshua203
Joshua 203
Dutch A Go Go
Joined: August 2008
Posts: 1754
Location: Earth, Europe, the Netherlands, Rotterdam
|
Re: [Icy Phoenix Debug] PHP Notice: In File /includes/functions.php On Line 4035 - 4046
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?¿?)
|
#7 Sat 30 Mar, 2013 03:47 |
|
alexandro
Joined: July 2008
Posts: 12
|
Re: [Icy Phoenix Debug] PHP Notice: In File /includes/functions.php On Line 4035 - 4046
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:
- //$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);
- $cache_dirs_array = ((empty($cache_folder) || !in_array($cache_folder, $cache_dirs_array)) ? $cache_dirs_array : array($cache_folder));
- $files_counter = 0;
- for ($i = 0; $i < sizeof($cache_dirs_array); $i++)
- {
- $dir = $cache_dirs_array[$i];
- $dir = ((is_dir($dir)) ? $dir : @phpbb_realpath($dir));
- $res = opendir($dir);
- while(($file = readdir($res)) !== false)
- {
- $file_full_path = $dir . $file;
- if (!in_array($file, $skip_files) && !is_dir($file_full_path))
- {
- @chmod($file_full_path, 0777);
- $res2 = @unlink($file_full_path);
- $files_counter++;
- }
- if (($files_per_step > 0) && ($files_counter >= $files_per_step))
- {
- closedir($res);
- return $files_per_step;
- }
- }
- closedir($res);
- }
and worked, but i don't know which is the consequense
____________ www.zona-latina.net
Icy Phoenix 2.0.0.86
|
#8 Sat 30 Mar, 2013 03:53 |
|
Joshua203
Joshua 203
Dutch A Go Go
Joined: August 2008
Posts: 1754
Location: Earth, Europe, the Netherlands, Rotterdam
|
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?¿?)
|
#9 Sat 30 Mar, 2013 04:00 |
|
alexandro
Joined: July 2008
Posts: 12
|
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 (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
|
#10 Sat 30 Mar, 2013 04:14 |
|
Joshua203
Joshua 203
Dutch A Go Go
Joined: August 2008
Posts: 1754
Location: Earth, Europe, the Netherlands, Rotterdam
|
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?¿?)
|
#11 Sat 30 Mar, 2013 04:34 |
|
alexandro
Joined: July 2008
Posts: 12
|
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
|
#12 Sat 30 Mar, 2013 04:37 |
|
Joshua203
Joshua 203
Dutch A Go Go
Joined: August 2008
Posts: 1754
Location: Earth, Europe, the Netherlands, Rotterdam
|
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?¿?)
|
#13 Sat 30 Mar, 2013 14:55 |
|
|
Page 1 of 1
|
Was this topic useful?
Was this topic useful?
Link this topic |
URL |
|
BBCode |
|
HTML |
|
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
|
|
|
|