At first the pages were just blank. Now there are errors and
my whole site is down.
www.cybermidi.com/default.php
at the top of this page, is the code
Code: Select all
<?php
if (!preg_match('@/plugin/@', $_SERVER['REQUEST_URI'])) {
?>
Code: Select all
<?php
}
ob_start();
chdir('/www/c/y/cybermidi.com/htdocs/news');
require '/www/c/y/cybermidi.com/htdocs/news/index.php';
$blog_data = ob_get_contents();
ob_end_clean();
echo $blog_data;
chdir('/www/c/y/cybermidi.com/htdocs');
if (preg_match('@/plugin/@', $_SERVER['REQUEST_URI'])) {
exit;
}
?>
which never happened until i upgraded
Now if i try
http://cybermidi.com/news/index.php
It kind of works (without reading my templates)
but if i do this
http://cybermidi.com/news/
the same error
UPDATE: Now without changing anything, the pages are just blank
Lastly, I use a blog.php for wrapping, and the htaccess file points to this
(in configuration, the index file is names blog.php, which contains
<?php
chdir('/www/c/y/cybermidi.com/htdocs/');
require 'default.php';
?>
please help
thank you