Warning: main(../header.php) [function.main]: failed to open stream: No such file or directory in /home/candy11/public_html/tutorials/other/cutenews-error.php on line 2
Warning: main(../header.php) [function.main]: failed to open stream: No such file or directory in /home/candy11/public_html/tutorials/other/cutenews-error.php on line 2
Warning: main(../header.php) [function.main]: failed to open stream: No such file or directory in /home/candy11/public_html/tutorials/other/cutenews-error.php on line 2
Warning: main() [function.include]: Failed opening '../header.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/candy11/public_html/tutorials/other/cutenews-error.php on line 2
Cutenews common error
I had this problem too before when i first installed cutenews.If you have all this when you click the comments link:
Warning: Division by zero in /home/path/to/cutenews/inc/functions.inc.php on line 469
Warning: Division by zero in /home/path/to/cutenews/inc/functions.inc.php on line 469
Warning: Division by zero in /home/path/to/cutenews/inc/functions.inc.php on line 469
Warning: Division by zero in /home/path/to/cutenews/inc/functions.inc.php on line 469
To get rid of this error, open up 'funtions.inc.php' in one of your cutenews folders. Look for this code:
if($i%$break_location == 0 and $break_location)
Replace that with this:
if($break_location)
Save that page and if you're using FTP, upload it again. Then that error will be gone.
Tutorial © Michelle @ Candy-Delight.net