Wordpress Migration Issue

Status
Not open for further replies.

cstsolut

New Member
Messages
3
Reaction score
0
Points
1
Hi - I built a wordpress site locally. I used the duplicator plugin, copied the file and installer.php to my x10hosting, set up a database using cPanel and ran the installer script. It seemed to work but I'm getting this error when I try to visit the site. Can you suggest how to fix it please?

Thanks

Fatal error: require_once(): Failed opening required '/home/cstsolut/public_html/wp-content/themes/stockholm/includes/plugins/class-tgm-plugin-activation.php' (include_path='.:/opt/alt/php55/usr/share/pear:/opt/alt/php55/usr/share/php') in /home/cstsolut/public_html/wp-content/themes/stockholm/functions.php on line 65
 

caftpx10

Well-Known Member
Messages
1,534
Reaction score
114
Points
63
Can you check if the permissions are correct for '/wp-content/themes/stockholm/includes/plugins/class-tgm-plugin-activation.php'?
 

caftpx10

Well-Known Member
Messages
1,534
Reaction score
114
Points
63
755 for folders, 644 for the files.

And you should be able to see and modify them either via the file manager or via an FTP client.
 

Livewire

Abuse Compliance Officer
Staff member
Messages
18,169
Reaction score
216
Points
63
That file does not exist; /home/cstsolut/public_html/wp-content/themes/stockholm/includes/plugins is an empty folder. I would recommend trying to reinstall that particular theme as that's what's causing the require_once to fail (it's missing a file the script requires, so it dies outright).


Edit: Just to clarify, it's looking for "class-tgm-plugin-activation.php" in that folder, but it's just not there.
 

caftpx10

Well-Known Member
Messages
1,534
Reaction score
114
Points
63
The error isn't saying that there's anything missing. All it's saying is that it's unable to open the file.

If it isn't permissions, then the next thing I would be thinking is ownership. Thing is that it can't have messed up that way.
Could do further testing but meh.

Looks like you'll need someone who's able to look into your account to see what's up with it..

Edit: eyy looks like they have right before I posted
 

Livewire

Abuse Compliance Officer
Staff member
Messages
18,169
Reaction score
216
Points
63
To be fair I'm a bit surprised that particular PHP error isn't more descriptive than "Failed opening required blah," since "Failed opening" implies there's something to open. Would have been an easy solve if it said "Failed: file does not exist (path/to/file)," but PHP doesn't always have errors that make sense :)
 
Status
Not open for further replies.
Top