-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Not rendering after moving files & db to new server #29
Comments
Hey @wfendler, this is a common problem and one that depends entirely on how the server is configured. If you haven't already, upgrade to EA 0.3.4 which was released yesterday. This (finally) adds logging to the plugin which I can use to help diagnose the problem. This behaviour indicates that the embedded asset JSON file can't be read for some reason, so |
Cool, looks like I've been using 0.3.4 the whole time. So I've got some logs but it looks like the only thing being logged is a bunch of |
Just tried adding a new embed on the server and that's not working either. So the transfer of data isn't what went wrong. There's something up with the server environment. Anything come to mind that I should check into first? Asset folder has When I look at the embed assets in the CP it's getting all of the titles right. So it must be reading those json files (although the thumbnail images are missing for the ones I've moved over). I'm using ServerPilot + Digital Ocean. Here's my basic server info from Craft: Let me know if any of the php info would be helpful. Too long to upload. For now I'll continue to do some poking around to see what I can come up with. Thanks for any help! |
Pretty sure titles are being pulled from the DB not from the json |
After looking into this, I found the problem to be that the site url and server_name variables are different due to the fact I'm running Vagrant with port forwarding. Basically, the Is it possible to use |
First - thanks for the plugin! This will be a lifesaver on my current project. Lots of different embeds throughout the blog especially.
The problem I'm encountering:
I moved my asset folders from my local site to my staging server and imported the database. They show up in the asset library and on the entries I've added them to in the CP but the template doesn't render any of them and I get this error:
Impossible to access an attribute ("html") on a null variable
Local and remote are both PHP 7 and Craft CMS 2.6.2931
The text was updated successfully, but these errors were encountered: