Skip to content
This repository has been archived by the owner on May 19, 2020. It is now read-only.

Failed to change sitename in metadata #951

Closed
Canibus opened this issue Dec 22, 2015 · 12 comments
Closed

Failed to change sitename in metadata #951

Canibus opened this issue Dec 22, 2015 · 12 comments
Assignees

Comments

@Canibus
Copy link

Canibus commented Dec 22, 2015

Help me please ! When i try to change sitename or other constant in admin interface i got this error:

Uncaught Exception

require(/home/admin/web/example/public_html/themes//posts.php): failed to open stream: No such file or directory

Origin

system/view.php on line 87

Trace
#0 /home/admin/web/example/public_html/system/view.php(87): System\Error::native(2, 'require(/home/a...', '/home/admin/web...', 87, Array)
#1 /home/admin/web/example/public_html/system/view.php(87): System\View::render()
#2 /home/admin/web/example/public_html/system/route.php(160): System\View->render()
#3 /home/admin/web/example/public_html/system/router.php(152): System\Route->run()
#4 /home/admin/web/example/public_html/system/start.php(36): System\Router->dispatch()
#5 /home/admin/web/example/public_html/index.php(15): require('/home/admin/web...')
#6 {main}

@daviddarnes
Copy link
Member

@Canibus hi, which version of Anchor are you using and where did you download it from?

@Canibus
Copy link
Author

Canibus commented Dec 22, 2015

@daviddarnes 0.9.2 . Downloaded from anchorcms.com

@Canibus
Copy link
Author

Canibus commented Dec 22, 2015

by the way, i cant restore my backup from my Vesta panel.
this is error: restore failed -> Database connection to MySQL host localhost failed

@daviddarnes
Copy link
Member

@Canibus thanks for the info.

@CraigChilds94 are you able to help with this issue at all?

@ghost
Copy link

ghost commented Dec 22, 2015

Can you access the database in PHPMyAdmin or something like that and dump out the anchor_meta table?

@Canibus
Copy link
Author

Canibus commented Dec 22, 2015

@idiot i can connect and check anchor_meta table only from root user .

@ghost
Copy link

ghost commented Dec 22, 2015

Why is everything blank? That's odd. To fix the

require(/home/admin/web/example/public_html/themes//posts.php): failed to open stream: No such file or directory

error, you can click "edit" on the theme row (2nd from bottom) and enter default as the value.

@Canibus
Copy link
Author

Canibus commented Dec 22, 2015

hey guys, i find a bug . Everytime when i change sitename or auto-allow comments i got empty theme value in my table

@Canibus
Copy link
Author

Canibus commented Dec 22, 2015

by the way, my Vesta panel still trying to restore database

@Canibus
Copy link
Author

Canibus commented Dec 22, 2015

ok, i have found the issue. i just change root ( MySql ) password same like in Vesta panel root user and restore has been succesful complete

@daviddarnes
Copy link
Member

@Canibus has that resolved all your issues?

@Canibus
Copy link
Author

Canibus commented Dec 22, 2015

@daviddarnes yup, thank you :)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants