Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Error "Warning: require_once(/vweb/vx/vx18823/content/SortableGridField/_config.php)


Go to End


3 Posts   841 Views

Avatar
Lotus10190

Community Member, 5 Posts

9 June 2016 at 1:37am

So I just migrated the website in its entirety to a new hosting company.
The hosting service has all the necessary requirements.

I exported the MYSQL database, recreated the database on the new server and imported the data.
The database is intact, but I had to set a new password for the database because the new hosting provider
had different rules for their MYSQL database passwords.

I updated the database IP, Name, and Password in the SilverStripe config file located at /content/mysite/_config.php

Before I updated that config with the new database info I was getting an error about not being able to reach the database.
Now that I have fixed that, I keep getting this error,

=======================================================================================================================
Warning: require_once(/vweb/vx/vx18823/content/SortableGridField/_config.php): failed to open stream: No such file or directory in /data/19/4/72/146/4561961/user/5405413/htdocs/content/framework/core/manifest/ClassLoader.php on line 57

Fatal error: require_once(): Failed opening required '/vweb/vx/vx18823/content/SortableGridField/_config.php' (include_path='.:/data/19/4/72/146/4561961/user/5405413/htdocs/content/framework:/data/19/4/72/146/4561961/user/5405413/htdocs/content/framework/parsers:/data/19/4/72/146/4561961/user/5405413/htdocs/content/framework/thirdparty:.:/usr/share/php:/usr/services/vux/lib/php') in /data/19/4/72/146/4561961/user/5405413/htdocs/content/framework/core/manifest/ClassLoader.php on line 57
=======================================================================================================================

Sorry if this is a really simple question, PHP and website development is not usually within my normal scope of work.
I do however have basic understanding of these programming languages, so feel free to mention anything that you think
might help. lol.

Best Regards,
Matt O.

Avatar
Devlin

Community Member, 344 Posts

9 June 2016 at 7:19pm

Run "/dev/build/?flush=all" ? It looks like you maybe copied the silverstripe-cache folder along and the ClassLoader is looking for the SortableGridField module at wrong path.

Avatar
Lotus10190

Community Member, 5 Posts

10 June 2016 at 2:20am

I dumped all the cache files into WinGrep and found the lines containing the old path.
I updated all the cached paths to the new location.
That fix that issue.

No I'm getting this horrible little message about
"Invalid argument supplied for foreach() in framework/core/manifest/ConfigManifest.php on line 102"

But I'll open another topic for that.

Thanks.