website index error

Permalink
Hi I just tried going to my site and it is just displaying the below error. I havent made any changes so I dont know what could be causing this


Deprecated: Function eregi() is deprecated in /home/apop/apoprecords.com/index.php on line 8044
Deprecated: Function eregi() is deprecated in /home/apop/apoprecords.com/index.php on line 8043

Warning: require(/home/apop/apoprecords.com/config/base_pre.php) [function.require]: failed to open stream: No such file or directory in /home/apop/apoprecords.com/inbex.php on line 8

Fatal error: require() [function.require]: Failed opening required '/home/apop/apoprecords.com/config/base_pre.php' (include_path='.:/usr/local/lib/php:/usr/local/php5/lib/pear') in /home/apop/apoprecords.com/inbex.php on line 8

 
Mainio replied on at Permalink Reply
Mainio
That's odd, concrete5 index.php has only 2 lines of code.

Can you show what your index.php looks like if it has more?

The depracated warnings can be disabled with error_reporting function in PHP:
http://php.net/manual/en/function.error-reporting.php...


Br,
Antti / Mainio
dlntx9 replied on at Permalink Reply
It seems my site was hacked. Has happened a few times now over the last week. Spam viagra kind of hacks apparently coming from the Ukraine.

I think it was via wordpress that the exploit was able to occur, but Im still trying to figure that out.

I'm using wordpress for the blog, and the wordpress block to display the blog posts on c5. Wordpress is only used for the creation of the posts, the wordpress block integrates the posts into the site, and the dir that wordpress is installed in reroutes back to the c5 page that I made to display blog posts. When the hack happened it screwed up the communication between the c5 block and wordpress the result was the error message that I posted.