Notifications
Clear all

wpForo 1.x.x Migration issue?

17 Posts
4 Users
0 Likes
1,093 Views
dimalifragis
Posts: 1379
(@dimalifragis)
Noble Member
Joined: 2 years ago

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

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

Honorable Member
Posts: 464

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

Reply
dimalifragis
Posts: 1379
(@dimalifragis)
Noble Member
Joined: 2 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?

Reply
5 Replies
CENTRAL4ALL
(@central4allgmail-com)
Joined: 4 years ago

Honorable Member
Posts: 464

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

Reply
dimalifragis
(@dimalifragis)
Joined: 2 years ago

Noble Member
Posts: 1379
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.

 

 

Reply
CENTRAL4ALL
(@central4allgmail-com)
Joined: 4 years ago

Honorable Member
Posts: 464

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

Reply
dimalifragis
(@dimalifragis)
Joined: 2 years ago

Noble Member
Posts: 1379
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.

 

Reply
CENTRAL4ALL
(@central4allgmail-com)
Joined: 4 years ago

Honorable Member
Posts: 464

@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.

Reply
Robert
Posts: 9278
Admin
(@robert)
Support Team
Joined: 6 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

 

Reply
CENTRAL4ALL
Posts: 464
Topic starter
(@central4allgmail-com)
Honorable Member
Joined: 4 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?

Reply
Chris
Posts: 1640
Admin
(@chris)
Support Team
Joined: 1 year ago

@central4allgmai,

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

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

Reply
Page 2 / 2
Share: