Notifications
Clear all

wpForo 1.x.x [Closed] Migration issue?

17 Posts
4 Users
0 Reactions
2,354 Views
dimalifragis
Posts: 2611
(@dimalifragis)
Famed Member
Joined: 5 years ago

So you did not migrate but cloned to a different DOMAIN a website backup? Do i get this correctly?

1 Reply
(@central4allgmail-com)
Joined: 6 years ago

Prominent Member
Posts: 533

@dimalifragis yes the old website is still working. It's an option of Vaultpress that allows this kind of restoration.

dimalifragis
Posts: 2611
(@dimalifragis)
Famed Member
Joined: 5 years ago

This "/home/athensmassage/public_html/wp-content" puzzles me a bit. I see TWO paths lower to the root (/home) and usually it is ONE path lower.

For example

"/home/public_html/wp-content", would be correct, since "/public_html/" is a folder already by itself.

could it be that the restoration was not correct?

5 Replies
(@central4allgmail-com)
Joined: 6 years ago

Prominent Member
Posts: 533

@dimalifragis no. That's because the server has multiple websites each websites has its own folder under "home".

dimalifragis
(@dimalifragis)
Joined: 5 years ago

Famed Member
Posts: 2611
Posted by: @central4allgmail-com

@dimalifragis no. That's because the server has multiple websites each websites has its own folder under "home".

Not related. All sites/folders are in home. What i see here is a folder and the site is on a subfolder.

Home is the root.

athensmassage is a folder

and public_html is a subfolder

So public_html is not needed or probably wrong.

 

 

(@central4allgmail-com)
Joined: 6 years ago

Prominent Member
Posts: 533

@dimalifragis all websites have that folder structure that was never an issue. wpforo works fine on the other websites.

dimalifragis
(@dimalifragis)
Joined: 5 years ago

Famed Member
Posts: 2611
Posted by: @central4allgmail-com

@dimalifragis all websites have that folder structure that was never an issue. wpforo works fine on the other websites.

Ok, but running WP from a subfolder is not a good idea. Anyways, good luck.

 

(@central4allgmail-com)
Joined: 6 years ago

Prominent Member
Posts: 533

@dimalifragis it's not a subfolder. wordpress is on the main folder of the website. The main folder of any webpage on any web server is called public_html and that's where wordpress is installed, so there is no subfolder involved.

The folder name before that is so the server itself knows which folder each webpage is on, since a server can indeed have multiple webpages. If all webpages were inside home (or public_html) it wouldn't work, since webpages start with a file called index.html (or index.php) and you cannot have multiple of those.

How webservers actually work was never a problem, the problem is the wordpress plugin called wpforo that is giving an exception that support isn't responding about.

Robert
Posts: 10591
Admin
(@robert)
Support Team
Joined: 9 years ago
Posted by: @central4allgmail-com

I created a clone of a working website and I'm getting this error when I try to activate the wpforo plugin:

Fatal error: Uncaught TypeError: fclose(): Argument #1 ($stream) must be of type resource,  /home/athensmassage/public_html/wp-content/plugins/wpforo/wpf-includes/functions.php on line 843

I tried deleting the plugin folder and re-download it, and still get the same error. Searching the forums, I noticed that this sometimes is a permissions problem, but wp-content and uploads folders are set to 755 permissions.

Yes, this is a permission issue. And this is the folder/file owner issue as well. If you've copied the files with higher privileged user, then the php files cannot open any files and folders. For example, if the file owner is the root, the PHP script running user will not be able to open it.

1. Make sure all folders have 755 permission, all files have 644 permission.

2. Make sure the owner of all folders and files is the same as it's in the life website file system

 

Posts: 533
Topic starter
(@central4allgmail-com)
Prominent Member
Joined: 6 years ago

Hello.

Permissions changed to be of the same user with 755 on folders and 644 on files. Still getting the same error. If it was a permissions wouldn't other plugins also crash? There are 44 active plugins and none give a similar error. I tried disabling all of them and only activating wpforo and get the same error.

I used the vaultpress backup to move the original content to another website, and get the same error there as well.

Is there anything else we can try? Or a way to bypass the error? Or figure out exactly what's happening?

Chris
Posts: 3627
(@chris)
Famed Member
Joined: 3 years ago

@central4allgmai,

We will need admin credential to find a solution for you.

Please send the credentials to info[at]gvectors.com

Page 2 / 2