close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

PHP errors after moving site from one host to another

Thread began 7/26/2012 9:00 pm by beemerrider280362 | Last modified 7/31/2012 9:45 pm by beemerrider280362 | 2086 views | 5 replies |

beemerrider280362

PHP errors after moving site from one host to another

I've moved a store (files and database) from one Windows server to another. When I first tried going to the site once on the new server the static portions of the site displayed, but not the dynamic portions. I double checked the connection settings and found an error in the database connection settings. Once I fixed that I got an open_basedir error. I edited the PHP.ini settings for this domain to allow open_basedir to any directory. Now all I get is

Warning: require_once(WA_Globals/WA_Globals.php) [function.require-once]: failed to open stream: Operation not permitted in C:\Inetpub\vhosts\wigswilltravel.com\httpdocs\index.php on line 1

Fatal error: require_once() [function.require]: Failed opening required 'WA_Globals/WA_Globals.php' (include_path='.;./includes;./pear') in C:\Inetpub\vhosts\wigswilltravel.com\httpdocs\index.php on line 1

wigswilltravel.com/

After reading about 25 threads in the forum and trying a few things, I'm stuck at this point.

Sign in to reply to this post

Jason ByrnesWebAssist

this os probably a permissions error.

using File Zilla or another FTP Program, set the permissions of the WA_Globals/WA_Globals.php to 755

It may be that you will need to set the permissions for all of the power store files by selecting the root folder of your site and setting the permissions to 755 and selecting the recurse through all files and folders option.

Sign in to reply to this post

beemerrider280362

Permissions

I checked the index and global file yesterday and they had 777 permissions. I went through the rest of the files today and they all have 777 permissions set. This site is running under a Plesk control panel/Windows now. It was previously on a Windows server without a control panel. I cannot seem to set any permissions back to 755 as they all are locked somehow through Plesk. Need to read up on how to set the permissions in Plesk. All the files in the file manager have a permissions setting, but all are grayed out and I cannot change them. Trying through FTP also just reverts back to 777 after trying to set at 755.

So with 777 set it seems like a security issue, but not an access to the file issue.

Any other ideas?

Sign in to reply to this post

beemerrider280362

open_basedir settings

I noticed it I turn on the Plesk default setting for open_basedir in the PHP settings that I get the static content again, just no dynamic content or that's how it appears.

If I turn open_basedir to none, then I get just the PHP errors.

I left it to open_basedir "default" at the moment so you can see the three errors it throws showing an open_basedir error along with function errors.

Sign in to reply to this post

Jason ByrnesWebAssist

Power Store cannot be used with the open_basedir restriction enabled, open_basedir needs to be disabled on the server for power store to function.

i will start an incident to look into the other issues, but open_basedir will need to be turned off.

Sign in to reply to this post

beemerrider280362

Permissions fixed

Thanks for the help. Moved the files from the Windows server with the supposed 777 permissions to my linux server. Set the permissions to 755 and the site works correctly now.

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...