Solved! Exception thrown without a stack frame in Unknown on line 0
Permalink 5 users found helpful
I saw this message:
Fatal error: Exception thrown without a stack frame in Unknown on line 0
The situation:
I have a site built on 5.5.2.1 and wanted to upgrade it to 5.6.0.2
To be on the safe side I decided to create a clean install of 5.6.0.2 on a new development subdomain and then restore from backup to import the site.
This has worked many times in the past (upgrading to previous versions), but after doing the restore this time I was greeted with "Fatal error: Exception thrown without a stack frame in Unknown on line 0" on a blank white page. I could not access the dashboard either, every page had the single error message.
What worked to fix it: In a new tab I went tohttp://www.your-concrete5-site.com/index.php/tools/required/upgrade...
That page did show something! It said that I needed to upgrade my site from 5.5.2.1 to 5.6.0.2
I clicked the upgrade button - and the whole site was restored.
I hope this can help someone that has seen the same error message.
Fatal error: Exception thrown without a stack frame in Unknown on line 0
The situation:
I have a site built on 5.5.2.1 and wanted to upgrade it to 5.6.0.2
To be on the safe side I decided to create a clean install of 5.6.0.2 on a new development subdomain and then restore from backup to import the site.
This has worked many times in the past (upgrading to previous versions), but after doing the restore this time I was greeted with "Fatal error: Exception thrown without a stack frame in Unknown on line 0" on a blank white page. I could not access the dashboard either, every page had the single error message.
What worked to fix it: In a new tab I went tohttp://www.your-concrete5-site.com/index.php/tools/required/upgrade...
That page did show something! It said that I needed to upgrade my site from 5.5.2.1 to 5.6.0.2
I clicked the upgrade button - and the whole site was restored.
I hope this can help someone that has seen the same error message.
This cryptic error message rears it's ugly head occasionally. I will keep your solution in my back pocket. Thanks for posting!
That did not work for me, trying to upgrade from 5.5.2.1 to 5.6.0.2. Error message reads:
mysql error: [1142: INDEX command denied to user 'web97'@'localhost' for table 'PermissionAssignments'] in EXECUTE("DROP INDEX pkID ON PermissionAssignments")
mysql error: [1142: INDEX command denied to user 'web97'@'localhost' for table 'PermissionAssignments'] in EXECUTE("DROP INDEX pkID ON PermissionAssignments")
I haven't seen the error message you posted...
Did you ever see this error message?
"Fatal error: Exception thrown without a stack frame in Unknown on line 0"
When and where do you see the error message that you are getting?
Did you ever see this error message?
"Fatal error: Exception thrown without a stack frame in Unknown on line 0"
When and where do you see the error message that you are getting?
The MySQL error message appeared after downloading and installing the upgrade package. I clicked the link “Back to home page” and then saw the error message you posted.
I could revert to the old version by changing /config/site.php (I deleted the last entry “upgraded to 5.6.0.2” or so). But I could not find a way to upgrade concrete5.
I could revert to the old version by changing /config/site.php (I deleted the last entry “upgraded to 5.6.0.2” or so). But I could not find a way to upgrade concrete5.
Same here....
'Fatal error: Exception thrown without a stack frame in Unknown on line 0'
happens when upgrading from 5.5 to 5.6
'Fatal error: Exception thrown without a stack frame in Unknown on line 0'
happens when upgrading from 5.5 to 5.6
@nickratering Were you able to fix everything by following the instructions above?
I was receiving the stack frame error in the php error log on a site that would not take the 5.6.0.2 upgrade and eventually narrowed it down to the presence of custom templates in the root /blocks/autonav/templates directory.
Upgrade attempts failed with the stack frame error in the php error log and the message
After removing the custom templates from /blocks/autonav/templates I reran the upgrade and it took. Apparently the upgrade routine was expecting the full file set for the block because of the custom templates.
Upgrade attempts failed with the stack frame error in the php error log and the message
on the dashboard upgrade screen.
After removing the custom templates from /blocks/autonav/templates I reran the upgrade and it took. Apparently the upgrade routine was expecting the full file set for the block because of the custom templates.
Cheers,
I had this problem and your fix worked beautifully for me.
I had this problem and your fix worked beautifully for me.
Awesome!
I'm sorry, how did you fix this problem? I tried adding "/config/site.php" that to the end of the URL, and that didn't help. is that what you meant?
sorry how did you fix this? I tried putting "/config/site.php"after are url and it didn't work
I had the message
Fatal error: Exception thrown without a stack frame in Unknown on line 0
I followed the solution. It worked. I can see the site. BUT ... I now cannot log on as any user? What has been changed in the upgrade???
OPPS. . . I went in as 'I forgot and need to reset the password', followed the link in the email and changed the password. I then went in to search users for my ID and the only thing I can do is view or delete. there is no edit????????
The other test ID will not login with the old password! I am afraid to go further! Help/
Fatal error: Exception thrown without a stack frame in Unknown on line 0
I followed the solution. It worked. I can see the site. BUT ... I now cannot log on as any user? What has been changed in the upgrade???
OPPS. . . I went in as 'I forgot and need to reset the password', followed the link in the email and changed the password. I then went in to search users for my ID and the only thing I can do is view or delete. there is no edit????????
The other test ID will not login with the old password! I am afraid to go further! Help/
It is interesting how we learn things because we have to. I just became acquainted with how 'PASSWORD_SALT' is used and important. In the process of trying to find the above solution, I used another SQL DB to test. Of course it did not solve the problem but it did cause the last problem. The SALT was changed. When I restored the original SALT all worked fine. I suppose everyone knows that but me.
I currently getting this issue after developing a site (created in 5.6.1) upgraded to 5.6.2
I have moved the local site onto a server, copying everything over when I load the site on the server I get this error?
Fatal error: Exception thrown without a stack frame in Unknown on line 0
I have tried the solutions here but none work for me?
I do notice that if I remove the site.php I can reinstall a fresh site.
However if I then attempt to import my db the site breaks again.
Does anyone else have any experience with this?
Thank you
Sean
I have moved the local site onto a server, copying everything over when I load the site on the server I get this error?
Fatal error: Exception thrown without a stack frame in Unknown on line 0
I have tried the solutions here but none work for me?
I do notice that if I remove the site.php I can reinstall a fresh site.
However if I then attempt to import my db the site breaks again.
Does anyone else have any experience with this?
Thank you
Sean
I recently had an error on cloning a site because the system console unzip had erroneously lowercased some file names. Totally different symptoms, so probably not the same here.
Thanks for the reply John, I will take a look I zipped via 7zip but it was from windows so never can be to sure.
Just comparing the databases I am noticing a lowercase usage on all the tables(bloody windows),
I have a feeling this might be the cause, as I am uploading to a Lamp environment.
http://www.concrete5.org/documentation/how-tos/developers/mysql-dat...
edit: That was the cause thanks for pointing me on the right path
I ran the migration tool found here
http://www.concrete5.org/marketplace/addons/database-case-sensitivi...
Manually edited the tables that where not included and Boom back in action.
I have a feeling this might be the cause, as I am uploading to a Lamp environment.
http://www.concrete5.org/documentation/how-tos/developers/mysql-dat...
edit: That was the cause thanks for pointing me on the right path
I ran the migration tool found here
http://www.concrete5.org/marketplace/addons/database-case-sensitivi...
Manually edited the tables that where not included and Boom back in action.
There is a database case sensitivity correction addon in the marketplace by mainio that works really well to sort out table case on existing sql files.
My Backup Voodoo addon integrates with it to ensure any table in a backup made with voodoo is in the correct case for c5.
My Backup Voodoo addon integrates with it to ensure any table in a backup made with voodoo is in the correct case for c5.
double post, sorry
Seems to work fine on later versions too
Thanks for posting
Thanks for posting
You saved me from my own stupidity! Thank you.
I solved an issue with a new install of Concrete5 and db files from an older version. Here's the story:
I was moving a site from one Bluehost server to another. Not a big deal typically. But the site was an older version of Concrete5. In the new location, I installed a fresh new copy of Concrete5. I imported packages, themes and files. Then I imported the old db to the new one. Wrong. Of course I got an error.
Your fix made it work. Again, thank you.
I solved an issue with a new install of Concrete5 and db files from an older version. Here's the story:
I was moving a site from one Bluehost server to another. Not a big deal typically. But the site was an older version of Concrete5. In the new location, I installed a fresh new copy of Concrete5. I imported packages, themes and files. Then I imported the old db to the new one. Wrong. Of course I got an error.
Your fix made it work. Again, thank you.
@foster
I couldn't figure out what solution you provided.
I have got backup from Host1 ( *.sql ) file and trying to restore it to Host2 and I get
Fatal error: Exception thrown without a stack frame in Unknown on line 0
both have same version of concrete5 ( 5.6.2.1 ) and both hosts are Linux flavors.
any suggestions ?
I couldn't figure out what solution you provided.
I have got backup from Host1 ( *.sql ) file and trying to restore it to Host2 and I get
Fatal error: Exception thrown without a stack frame in Unknown on line 0
both have same version of concrete5 ( 5.6.2.1 ) and both hosts are Linux flavors.
any suggestions ?
Could anyone please direct me some steps to follow as I am seeing ?
Fatal error: Exception thrown without a stack frame in Unknown on line 0
Thanks !
Fatal error: Exception thrown without a stack frame in Unknown on line 0
Thanks !
@foster
I followed what you did but it says these errors!
An Unexpected Error occurred while upgrading: #0 /home4/onelinus/public_html/itso/updates/concrete5.6.3.1_updater/concrete/libraries/3rdparty/adodb/adodb.inc.php(1074): adodb_throw('mysqlt', 'EXECUTE', 1054, 'Unknown column ...', 'select btID, bt...', false, Object(ADODB_mysqlt)) #1 /home4/onelinus/public_html/itso/updates/concrete5.6.3.1_updater/concrete/libraries/3rdparty/adodb/adodb.inc.php(1030): ADOConnection->_Execute('select btID, bt...') #2 /home4/onelinus/public_html/itso/updates/concrete5.6.3.1_updater/concrete/libraries/3rdparty/adodb/adodb.inc.php(796): ADOConnection->Execute('select btID, bt...', Array) #3 /home4/onelinus/public_html/itso/updates/concrete5.6.3.1_updater/concrete/core/models/block_types.php(359): ADOConnection->Query('select btID, bt...', Array) #4 /home4/onelinus/public_html/itso/updates/concrete5.6.3.1_updater/concrete/core/models/block_types.php(315): Concrete5_Model_BlockType::get('btHandle = ?', Array) #5 /home4/onelinus/public_html/itso/updates/concrete5.6.3.1_updater/concrete/helpers/concrete/upgrade/version_552.php(24): Concrete5_Model_BlockType::getByHandle('image') #6 /home4/onelinus/public_html/itso/updates/concrete5.6.3.1_updater/concrete/core/controllers/single_pages/upgrade.php(255): ConcreteUpgradeVersion552Helper->run() #7 /home4/onelinus/public_html/itso/updates/concrete5.6.3.1_updater/concrete/core/controllers/single_pages/upgrade.php(44): Concrete5_Controller_Upgrade->do_upgrade() #8 /home4/onelinus/public_html/itso/updates/concrete5.6.3.1_updater/concrete/core/libraries/controller.php(267): Concrete5_Controller_Upgrade->view('tools', 'required', 'upgrade') #9 /home4/onelinus/public_html/itso/updates/concrete5.6.3.1_updater/concrete/core/libraries/controller.php(237): Concrete5_Library_Controller->runTask(Array, Array) #10 /home4/onelinus/public_html/itso/updates/concrete5.6.3.1_updater/concrete/core/libraries/view.php(774): Concrete5_Library_Controller->setupAndRun('view', Array) #11 /home4/onelinus/public_html/itso/updates/concrete5.6.3.1_updater/concrete/tools/upgrade.php(6): Concrete5_Library_View->render() #12 /home4/onelinus/public_html/itso/updates/concrete5.6.3.1_updater/concrete/startup/tools_upgrade_check.php(9): include('/home4/onelinus...') #13 /home4/onelinus/public_html/itso/updates/concrete5.6.3.1_updater/concrete/dispatcher.php(105): require('/home4/onelinus...') #14 /home4/onelinus/public_html/itso/concrete/startup/updated_core_check.php(6): require('/home4/onelinus...') #15 /home4/onelinus/public_html/itso/concrete/dispatcher.php(14): require('/home4/onelinus...') #16 /home4/onelinus/public_html/itso/index.php(2): require('/home4/onelinus...') #17 {main}
what else I should do?
I followed what you did but it says these errors!
An Unexpected Error occurred while upgrading: #0 /home4/onelinus/public_html/itso/updates/concrete5.6.3.1_updater/concrete/libraries/3rdparty/adodb/adodb.inc.php(1074): adodb_throw('mysqlt', 'EXECUTE', 1054, 'Unknown column ...', 'select btID, bt...', false, Object(ADODB_mysqlt)) #1 /home4/onelinus/public_html/itso/updates/concrete5.6.3.1_updater/concrete/libraries/3rdparty/adodb/adodb.inc.php(1030): ADOConnection->_Execute('select btID, bt...') #2 /home4/onelinus/public_html/itso/updates/concrete5.6.3.1_updater/concrete/libraries/3rdparty/adodb/adodb.inc.php(796): ADOConnection->Execute('select btID, bt...', Array) #3 /home4/onelinus/public_html/itso/updates/concrete5.6.3.1_updater/concrete/core/models/block_types.php(359): ADOConnection->Query('select btID, bt...', Array) #4 /home4/onelinus/public_html/itso/updates/concrete5.6.3.1_updater/concrete/core/models/block_types.php(315): Concrete5_Model_BlockType::get('btHandle = ?', Array) #5 /home4/onelinus/public_html/itso/updates/concrete5.6.3.1_updater/concrete/helpers/concrete/upgrade/version_552.php(24): Concrete5_Model_BlockType::getByHandle('image') #6 /home4/onelinus/public_html/itso/updates/concrete5.6.3.1_updater/concrete/core/controllers/single_pages/upgrade.php(255): ConcreteUpgradeVersion552Helper->run() #7 /home4/onelinus/public_html/itso/updates/concrete5.6.3.1_updater/concrete/core/controllers/single_pages/upgrade.php(44): Concrete5_Controller_Upgrade->do_upgrade() #8 /home4/onelinus/public_html/itso/updates/concrete5.6.3.1_updater/concrete/core/libraries/controller.php(267): Concrete5_Controller_Upgrade->view('tools', 'required', 'upgrade') #9 /home4/onelinus/public_html/itso/updates/concrete5.6.3.1_updater/concrete/core/libraries/controller.php(237): Concrete5_Library_Controller->runTask(Array, Array) #10 /home4/onelinus/public_html/itso/updates/concrete5.6.3.1_updater/concrete/core/libraries/view.php(774): Concrete5_Library_Controller->setupAndRun('view', Array) #11 /home4/onelinus/public_html/itso/updates/concrete5.6.3.1_updater/concrete/tools/upgrade.php(6): Concrete5_Library_View->render() #12 /home4/onelinus/public_html/itso/updates/concrete5.6.3.1_updater/concrete/startup/tools_upgrade_check.php(9): include('/home4/onelinus...') #13 /home4/onelinus/public_html/itso/updates/concrete5.6.3.1_updater/concrete/dispatcher.php(105): require('/home4/onelinus...') #14 /home4/onelinus/public_html/itso/concrete/startup/updated_core_check.php(6): require('/home4/onelinus...') #15 /home4/onelinus/public_html/itso/concrete/dispatcher.php(14): require('/home4/onelinus...') #16 /home4/onelinus/public_html/itso/index.php(2): require('/home4/onelinus...') #17 {main}
what else I should do?
I am getting nearly the exact same message as @Rider - did you figure it out?
Any tips anyone?
Thanks
Neil
Any tips anyone?
Thanks
Neil
I fixed this on my website. What happens is after you have a website for a lot of years, the logs and statistics in the database get filled up to capcity and the tables crash. To repair them, login to the MySQL database that hosts your version of Concrete and run these two SQL commands:
AND
That should fix it for you. If it didn't, go through all the other tables in the database and see if any have crashed.
-Mark
REPAIR TABLE Logs
AND
REPAIR TABLE PageStatistics
That should fix it for you. If it didn't, go through all the other tables in the database and see if any have crashed.
-Mark