Error while moving Joomla from localhost to my website

Need help installing Joomla! 2.5? For all Joomla! 2.5 installation issues please use this forum. Note: All 1.6 and 1.7 releases have reached end of life and should be updated to 2.5.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Post Reply
ali_m
Joomla! Fledgling
Joomla! Fledgling
Posts: 3
Joined: Mon Dec 26, 2016 1:27 am

Error while moving Joomla from localhost to my website

Post by ali_m » Mon Dec 26, 2016 1:34 am

Hello everyone....
I have Joomla installed on WAMP server, after configuring modules and plugins ....
I tried to move it to my website, I used the "Plesk file manager" to upload script
and then I successfully exported and imported database to remote host.
Beside database configuration, I reconfigured the `configuration.php` file as the following:

Code: Select all

    public $log_path = 'D:\\Inetpub\\vhosts\\site.com\\httpdocs\\site\\Joomla/logs';
    public $tmp_path = 'D:\\Inetpub\\vhosts\\site.com\\httpdocs\\site\\Joomla/tmp';
but I got the following Error while browsing my joomla index page:

Code: Select all

    Warning: require_once(__DIR__/cache.php) [function.require-once]: failed to open stream: No error in D:\Inetpub\vhosts\site.com\httpdocs\site\Joomla\plugins\system\nnframework\helpers\protect.php on line 16
    
    Fatal error: require_once() [function.require]: Failed opening required '__DIR__/cache.php' (include_path='.;./includes;./pear') in D:\Inetpub\vhosts\site.com\httpdocs\site\Joomla\plugins\system\nnframework\helpers\protect.php on line 16
So how to repair this error?

User avatar
H13
Joomla! Ace
Joomla! Ace
Posts: 1436
Joined: Sun Dec 10, 2006 6:39 pm
Location: Czech Republic
Contact:

Re: Error while moving Joomla from localhost to my website

Post by H13 » Mon Dec 26, 2016 12:47 pm

Hi, I think, you need to contact the developer of the "nnframework" plugin, maybe it somehow stores paths and they are now broken,maybe it has some settings where you can change it :idea:

Jan
- Phoca Gallery - powerful image gallery - http://www.phoca.cz/phocagallery/
- Phoca Restaurant Menu - http://www.phoca.cz/restaurantmenudemo/
- Phoca Cart - e-commerce platform for Joomla!
- Phoca Download - download manager for Joomla!

ali_m
Joomla! Fledgling
Joomla! Fledgling
Posts: 3
Joined: Mon Dec 26, 2016 1:27 am

Re: Error while moving Joomla from localhost to my website

Post by ali_m » Mon Dec 26, 2016 9:12 pm

Thanks H13
I'v solved it..
seems like php version doesn't support __DIR__ function so I just replaced it with absolute directory location and that works fine

User avatar
H13
Joomla! Ace
Joomla! Ace
Posts: 1436
Joined: Sun Dec 10, 2006 6:39 pm
Location: Czech Republic
Contact:

Re: Error while moving Joomla from localhost to my website

Post by H13 » Tue Dec 27, 2016 1:36 pm

Ok
- Phoca Gallery - powerful image gallery - http://www.phoca.cz/phocagallery/
- Phoca Restaurant Menu - http://www.phoca.cz/restaurantmenudemo/
- Phoca Cart - e-commerce platform for Joomla!
- Phoca Download - download manager for Joomla!


Post Reply

Return to “Installation Joomla! 2.5”