Problem for Migrating from localhost to server

Need help upgrading your Joomla! website or converting to Joomla! 3.x?

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.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10.
Locked
User avatar
fadyagha
Joomla! Intern
Joomla! Intern
Posts: 81
Joined: Thu Apr 23, 2009 11:07 pm
Location: qatar,doha
Contact:

Problem for Migrating from localhost to server

Post by fadyagha » Mon Apr 20, 2015 2:44 pm

Hello everybody
After finished work with my website at localhost ( Wampserver) and Migrating to live server
I have at backend in Global Configuration error if click to save or save and close

Code: Select all


PHP Warning:  is_writable(): open_basedir restriction in effect. File(/tmp) is not within the allowed path(s): (D:/Inetpub/vhosts/website.com\;C:\Windows\Temp\) in D:\Inetpub\vhosts\website.com\httpdocs\libraries\joomla\filesystem\path.php on line 239
PHP Warning:  is_writable(): open_basedir restriction in effect. File(/tmp) is not within the allowed path(s): (D:/Inetpub/vhosts/website.com\;C:\Windows\Temp\) in D:\Inetpub\vhosts\website.com\httpdocs\libraries\joomla\filesystem\path.php on line 239

but it's save the changed if I click at back in browser

also if I want create new item in main menu and click at ( new ) or ( save and copy ) button I see this error message

Code: Select all


PHP Warning:  is_file(): open_basedir restriction in effect. File(\metadata.xml) is not within the allowed path(s): (D:/Inetpub/vhosts/website.com\;C:\Windows\Temp\) in D:\Inetpub\vhosts\website.com\httpdocs\administrator\components\com_menus\models\item.php on line 973

I don't know how to solved this issue also I don't know from where this issue

Joomla : 3.4.1
PHP : 5.5.21
MySQL : 5.1.73

Thank you very much

sovainfo
Joomla! Exemplar
Joomla! Exemplar
Posts: 8808
Joined: Sat Oct 01, 2011 7:06 pm

Re: Problem for Migrating from localhost to server

Post by sovainfo » Mon Apr 20, 2015 4:08 pm

With open_basedir restriction in effect on the webserver you need to make sure your path's used are according to that setting. Changing tmp and log in Global Configuration normally gets rid of this. Try "./logs" and "./tmp" to use the folders that come with Joomla. Or use "D:/Inetpub/vhosts/website.com/httpdocs/logs" and "C:/Windows/Temp"

Hopefully it also fixes the last one.
Issue with migrating? Include logs/joomla_update.php in your report!
Blank screen? Verify pagesource for HTML code (javascript error)
Installation failing on populating database? Install with set_time_limit(0)
Document your customizations!

User avatar
fadyagha
Joomla! Intern
Joomla! Intern
Posts: 81
Joined: Thu Apr 23, 2009 11:07 pm
Location: qatar,doha
Contact:

Re: Problem for Migrating from localhost to server

Post by fadyagha » Tue Apr 21, 2015 6:47 am

Thank you for Solved my issue :)


Locked

Return to “Migrating and Upgrading to Joomla! 3.x”