0
Welcome Guest! Login
0 items Join Now

Changed Hosts; Now receiving PHP Warning Warning: require_on

    • barnes_53's Avatar
    • barnes_53
    • Jr. Rocketeer
    • Posts: 21
    • Thanks: 0

    Changed Hosts; Now receiving PHP Warning Warning: require_on

    Posted 13 years 4 weeks ago
    • I am using Ionosphere template joomla 2.5 with PHP 5.2.17. Nothing custom about it....out of the box install. After performing a complete Akeeba backup and performing a complete restore without issue I am getting the following PHP warnings:

      Warning: require_once(/usr/local/apache/htdocs/images/joomla.png) [function.require-once]: failed to open stream: No such file or directory in /home/lastrawb/public_html/includes/defines.php on line 8

      Fatal error: require_once() [function.require]: Failed opening required '/usr/local/apache/htdocs/images/joomla.png' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/lastrawb/public_html/includes/defines.php on line 8


      I was receiving a similar error for the joomla admin control panel, but found that if I changed the following settings in the configuration.php file I was able to get into the joomla admin cpanel:

      OLD HOST -
      public $caching = '2';
      public $cache_handler = 'cachelite';

      NEW HOST -
      public $caching = '2';
      public $cache_handler = 'file';


      The memory limit for PHP.ini has also been set to 64M.

      I am at a loss as to why I am getting this error. Any help is always appreciated, thanks.

      oh yeah....the site address is http://184.172.53.181/~lastrawb
    • barnes_53's Avatar
    • barnes_53
    • Jr. Rocketeer
    • Posts: 21
    • Thanks: 0

    Re: Changed Hosts; Now receiving PHP Warning Warning: require_on

    Posted 13 years 4 weeks ago
    • Figured it out. The /includes/defines.php file must have been corrupt. I replaced it with a new one and it worked.

Time to create page: 0.051 seconds