We build. You grow.

Get best community software here

Start a social network, a fan-site, an education project with oxwall - free opensource community software

I deleted my active theme, now get error 500 | Forum

Topic location: Forum home » Support » General Questions
jeo
jeo Oct 14 '12
still no help what a let down to my site :(
jeo
jeo Oct 14 '12
Thanks for the support of Arvixe, my site is now working agen!
Alia Team
Alia Oct 15 '12
Hello Jeo, wasn't able to reply to you earlier due to weekends.
Did you just restore your files?

If you applied any fixes, would be great if you share them here with other users who might face the same issue in future.
jeo
jeo Oct 15 '12
i just got my host to fix it for me, i will ask them later how to i do it myself and i share it on the forums.
Vinod
Vinod Nov 24 '12
Hi
some similar problem with me.
I've changed avatar size in user panel, then edited css in theme editor in admin, after that my site front was broken, I tried to restore css, tried to manually change theme folder but No use,
Temporarily I've changed theme, BUT now I'm unable to open change theme section in Admin-> choose theme. Kindly help.

I've some plugins installed, modified theme working perfect before editing css.

I've enabled debug mode getting this error

Message: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry 'macabre' for key 'name' File: /home5/vinod41/public_html/strongholdfans.com/ow_core/database.php Line: 305 Trace: #0 /home5/vinod41/public_html/strongholdfans.com/ow_core/database.php(305): PDOStatement->execute() #1 /home5/vinod41/public_html/strongholdfans.com/ow_core/database.php(414): OW_Database->execute('INSERT INTO `ow...', Array) #2 /home5/vinod41/public_html/strongholdfans.com/ow_core/database.php(451): OW_Database->insert('INSERT INTO `ow...', Array) #3 /home5/vinod41/public_html/strongholdfans.com/ow_core/base_dao.php(209): OW_Database->insertObject('ow_base_theme', Object(BOL_Theme)) #4 /home5/vinod41/public_html/strongholdfans.com/ow_system_plugins/base/bol/theme_service.php(189): OW_BaseDao->save(Object(BOL_Theme)) #5 /home5/vinod41/public_html/strongholdfans.com/ow_system_plugins/admin/controllers/themes.php(79): BOL_ThemeService->updateThemeList() #6 [internal function]: ADMIN_CTRL_Themes->chooseTheme(Array) #7 /home5/vinod41/public_html/strongholdfans.com/ow_core/request_handler.php(266): ReflectionMethod->invokeArgs(Object(ADMIN_CTRL_Themes), Array) #8 /home5/vinod41/public_html/strongholdfans.com/ow_core/application.php(300): OW_RequestHandler->dispatch() #9 /home5/vinod41/public_html/strongholdfans.com/index.php(65): OW_Application->handleRequest() #10 {main} Type: PDOException
Alia Team
Alia Nov 26 '12
Vinod, if you  PM me access details to your server ( FTP, control panel) and admin panel, our developers will check what have caused this issue.
Vinod
Vinod Nov 26 '12
hi, Thanks for reply :)

Actually It was new install, and don't have much data there, just setted it up 3-4 days. So on Sunday I've uninstalled and Re-Installed everything.

If same problem persists will let you know then.

Regards
Vinod Rawat
Tim
Tim Dec 21 '12
Same issue... and yeah... I cannot ever seem to find a solution when something goes wrong.
Alia Team
Alia Dec 25 '12
Tim, this issue has been reported several times, however people either reinstalled the software and everything went well or they did not provide access details and we were not able to find what have caused the issue.

We will be able to help you with this issue if you PM me  access details to :
1. admin panel
2. FTP
3. phpMyAdmin
Simon
Simon Sep 18 '15
i have sent you a pm.
but wouldnt a manual be better ?

cheers


/edit:

generally speaking, do you think its a good idea to have the admin backend panel
in the themes folder ? i wasnt used to see "simplicity" theme in my theme folder
and after accidentally deleting it and re-uploading from my other oxwall website
it should be just working, shouldnt it ?

if something can screw up so much it shouldnt be located in a folder where alot
of changes are being made manually (graphics, css etc.).

i think this is kind of a flaw in design. /personal opinion - no rant.

/edit2:

could solve the problem for the main page but yet not for the admin panel.
i had to create the simplicity theme entry into the database folder (adding the sql import file for others).

now i get this error on the the admin backend:

Error details: Type: Exception Message: Can't find master page `'.html_document.'` ! File: /www/htdocs/v100184/propaganda.fail/ow_core/theme_manager.php Line: 240 Trace: #0 /www/htdocs/v100184/propaganda.fail/ow_core/html_document.php(602): OW_ThemeManager->getMasterPageTemplate('html_document') #1 /www/htdocs/v100184/propaganda.fail/ow_core/response.php(200): OW_HtmlDocument->render() #2 /www/htdocs/v100184/propaganda.fail/ow_core/application.php(458): OW_Response->respond() #3 /www/htdocs/v100184/propaganda.fail/index.php(94): OW_Application->returnResponse() #4 {main}
so i looked into the file and the line 240 states:
throw new InvalidArgumentException("Can't find master page `'.$masterPage.'` !");

$masterpage in the database is set on the origin theme which should be right, actually.


/edit3:

ok, found the issue:
by accidentally deleting simplicity via FTP the origin theme was still on and active.
deleted it in the database and set simplicity up for the origin ID.

working... finally... happy... thanks for reading ;D
and maybe it could help someone else ?
The Forum post is edited by Simon Sep 18 '15
Attachments:
  ow_base_theme.sql (2Kb)
Pages: « 1 2