View Full Version : URGENT HELP NEEDED!
goofyunicorn
02-28-2018, 10:55 AM
Earlier, I accidentally put a theme that wasn't compatible with Mysidia in the theme folder. I deleted it straight away. It seems to be only my account that comes up with an error when I type in the web address as people have told me it works on their account. What do I do? I can't get in to the ACP or the website, just the cPanel. I need help right now, as I promised to release 12 new adoptables today and I have had emails saying people are waiting. :ohnoes:
The error is this:
Fatal error: Uncaught exception 'SmartyException' with message 'Unable to load template file 'template.tpl'' in /home/beausavi/public_html/inc/smarty/sysplugins/smarty_internal_templatebase.php:127 Stack trace: #0 /home/beausavi/public_html/inc/smarty/sysplugins/smarty_internal_templatebase.php(374): Smarty_Internal_TemplateBase->fetch('template.tpl', NULL, NULL, NULL, true) #1 /home/beausavi/public_html/classes/class_template.php(135): Smarty_Internal_TemplateBase->display('template.tpl') #2 /home/beausavi/public_html/classes/class_view.php(280): Template->output() #3 /home/beausavi/public_html/classes/class_frontcontroller.php(102): View->render() #4 /home/beausavi/public_html/index.php(74): FrontController->render() #5 /home/beausavi/public_html/index.php(78): IndexController::main() #6 {main} thrown in /home/beausavi/public_html/inc/smarty/sysplugins/smarty_internal_templatebase.php on line 127
goofyunicorn
02-28-2018, 11:09 AM
I went to line 127 and it says:
throw new SmartyException("Unable to load template {$_template->source->type} '{$_template->source->name}'{$parent_resource}");
I have a feeling I should delete that line but I know nothing about coding :P
Dinocanid
02-28-2018, 03:39 PM
Don't delete it please, that'll just cause more problems xD The problem isn't in the code at all actually, it's because deleting the theme doesn't change the database, so the site is looking for a theme that doesn't exist. Just go to phpMyAdmin, look the the user_settings table and change your theme back to "main" and it should work fine.
goofyunicorn
02-28-2018, 03:53 PM
Don't delete it please, that'll just cause more problems xD The problem isn't in the code at all actually, it's because deleting the theme doesn't change the database, so the site is looking for a theme that doesn't exist. Just go to phpMyAdmin, look the the user_settings table and change your theme back to "main" and it should work fine.
If I am on the right page, it does say main. 😕
https://ibb.co/hzVtsc
Dinocanid
02-28-2018, 04:59 PM
Whoops! It's user_options, not user_settings, sorry ^-^;
goofyunicorn
02-28-2018, 05:20 PM
Whoops! It's user_options, not user_settings, sorry ^-^;
It still doesnt work :mii:
Dinocanid
02-28-2018, 06:17 PM
It doesn't work if you change your account's theme to main? Did you also try changing it to be the same as everyone else's?
Make sure you're editing the theme in your row and not another user's row.
goofyunicorn
03-01-2018, 01:31 AM
It doesn't work if you change your account's theme to main? Did you also try changing it to be the same as everyone else's?
Make sure you're editing the theme in your row and not another user's row.
It is my account. It was on the accident theme before and now it is on main.
Dinocanid
03-01-2018, 09:25 AM
That's really weird. Did you also try "elements" and "green"?
You should also delete the accident theme from the adopts_themes table too if you haven't.
goofyunicorn
03-01-2018, 01:17 PM
That's really weird. Did you also try "elements" and "green"?
You should also delete the accident theme from the adopts_themes table too if you haven't.
Accident theme deleted and still doesnt work.
Edit: Tried other themes but still doesnt work.
Dinocanid
03-01-2018, 02:44 PM
What theme did you try installing? Did you edit anything while doing it?
goofyunicorn
03-01-2018, 04:22 PM
What theme did you try installing? Did you edit anything while doing it?
No editing. Just dragged a theme for another website I am amking about model horses onto the wrong page and it downloaded before I could cancel it. The error seems to be happening to other users now too.
Dinocanid
03-01-2018, 04:40 PM
Do you remember where the files were downloaded to (before you deleted them)? I'm thinking that something was probably overwritten.
goofyunicorn
03-01-2018, 04:42 PM
Do you remember where the files were downloaded to (before you deleted them)? I'm thinking that something was probably overwritten.
Templates folder I think?
Dinocanid
03-01-2018, 04:48 PM
What's inside the templates folder now?
goofyunicorn
03-01-2018, 04:54 PM
What's inside the templates folder now?
https://ibb.co/bRtMVx
Dinocanid
03-01-2018, 05:01 PM
Hmm, if it was any of the templates from here (http://www.mysidiaadoptables.com/forum/forumdisplay.php?f=26) then just deleting the files should have fixed it. Otherwise, I don't really know since I've only encountered that error when I forget to switch themes before deleting the one I have.
goofyunicorn
03-02-2018, 01:35 AM
Hmm, if it was any of the templates from here (http://www.mysidiaadoptables.com/forum/forumdisplay.php?f=26) then just deleting the files should have fixed it. Otherwise, I don't really know since I've only encountered that error when I forget to switch themes before deleting the one I have.
It was a template from the link you sent me with allt he templates. I found one perfect for my other site in the process of scrolling through
Dinocanid
03-02-2018, 02:23 AM
Was there an "index" file in the rar/zip the theme came in?
Also none of those can be used straight from the site, they wouldn't work (I should've explained that, sorry). You would have to set it up in the same format that mysidia uses, with its own folder, a template.tpl file and a header.tpl file along with the css.
goofyunicorn
03-02-2018, 03:17 AM
Was there an "index" file in the rar/zip the theme came in?
Also none of those can be used straight from the site, they wouldn't work (I should've explained that, sorry). You would have to set it up in the same format that mysidia uses, with its own folder, a template.tpl file and a header.tpl file along with the css.
No index file and if there was, it isnt there.
Dinocanid
03-02-2018, 04:32 AM
I don't know then, sorry :/
You could try messaging HoF to see if he can go in and fix it for you.
goofyunicorn
03-02-2018, 04:33 AM
I don't know then, sorry :/
You could try messaging HoF to see if he can go in and fix it for you.
Will do, thank you.
Hall of Famer
03-05-2018, 11:08 AM
Well I cant help you fix a third party template, but surely I can revert your template back to the default/original so you can start from scratch again.
goofyunicorn
03-05-2018, 04:58 PM
Well I cant help you fix a third party template, but surely I can revert your template back to the default/original so you can start from scratch again.
Yes please, that would be great.
Hall of Famer
03-09-2018, 10:15 AM
Fixed it for you. Note in future you need to message me for your new password if you change it for your FTP account, otherwise it will be delayed since I will not be able to use FTP.
vBulletin® v3.8.11, Copyright ©2000-2025, vBulletin Solutions Inc.