Im struggling to find out why my site has gone down. Went to login in after a couple of weeks and my site is showing the following error:
Fatal error: Uncaught Error: Class 'wpdb' not found in /customers/6/a/c/superhuggable.com/httpd.www/wp-includes/load.php:404 Stack trace: #0 /customers/6/a/c/superhuggable.com/httpd.www/wp-settings.php(106): require_wp_db() #1 /customers/6/a/c/superhuggable.com/httpd.www/wp-config.php(98): require_once('/customers/6/a/...') #2 /customers/6/a/c/superhuggable.com/httpd.www/wp-load.php(37): require_once('/customers/6/a/...') #3 /customers/6/a/c/superhuggable.com/httpd.www/wp-blog-header.php(13): require_once('/customers/6/a/...') #4 /customers/6/a/c/superhuggable.com/httpd.www/index.php(17): require('/customers/6/a/...') #5 {main} thrown in /customers/6/a/c/superhuggable.com/httpd.www/wp-includes/load.php on line 404
The domain is superhuggable.com. Im not a professional dev, but can normally get my head round most things, was wondering if you guys could help?
Thank you.
Pretty sure something is wrong with your WordPress core files. Try re-installing the WordPress. Here's how you can do it without losing your existing site data.
Keep the wp-content folder and wp-config.php file in a safe place. And delete everything else from your wordpress installation directory.
Download Wordpress From https://wordpress.org/download/
Extract all files. And Replace wp-content folder and wp-config.php file.
If still doesn't work You may try deactivating all of your plugins and themes via the database. (Here's help)
And also you may try searching guide to fix common wordpress fatal errors.
Happy debugging!
Related
I am using SqlGeography in a project that was working but now is not. The only thing that has changed that I can think of is that Windows 10 did an update to my PC but I am unsure that that is the source of the problem.
I used NuGet to remove and then re-add the reference to SqlServer140.dll and got this message:
Errors were detected when processing \packages\microsoft.sqlserver.types. 14.0.1016.290\nativebinaries\x64\SQLSERVERPARTIAL140.dll. Please make sure that the file eis accesible, and that it is a valid assembly or COM component.
I used this SO thread to work on this problem. I downloaded Dependency Walker and ran it against SqlServerSpastial140.dll and got this error message:
Errors were detected when processing that . See the log window for details.
Unfortunately, the help file for Dependency Walker is not included in the download (I downloaded both form its home page and also a link at Microsoft - the help was missing from both) so I do not know how to read the result. Here is an image of the result:
Assuming the "log window" is the one at the very bottom, it is not helpful. What do I have to do to restore the SqlGeography functionality. I've also tried other suggestions from the link mentioned above but nothing has worked.
What worked for me was to go to this file location below and copy the SqlServerSpatial140.dll to my project bin folder.
C:\Users<user>.nuget\packages\microsoft.sqlserver.types\14.0.1016.290\nativeBinaries\x64
im working in a project using angularjs and laravel, but i have a bug i think in my application, im not sure since it happens sometimes, not always. Basically when i open or run my application are made some requests to some routes, but sometimes give me a 500 error, and than the error that is shown in the preview is:
RuntimeException in ApiServiceProvider.php line 88:
Unable to boot ApiServiceProvider, configure an API domain or prefix.
I searched online this error and didnt find much info related with this error, does someone have a idea what could it be?
Yes I have solved the problem, the thing is that you are missing configurations.
The way to solve it you have to make a copy of .env.example file and rename it to .env
Do not forget to change you database configurations.
The problem was missing domain or prefix. which is in your case is:
API_PREFIX=api
I`m sure that it should solve your problem.
Helpful hint turn on your debugging environment in config/app.php to 'debug' => env('APP_DEBUG', true)
so you can be more specific with error messages.
I had same problem even if API_PREFIX was set in my .env file.
Simple solution that I found after long struggle was to clear cache:
php artisan chache:clear
php artisan config:cache
I built my windows8.1 silverlight app with vs2015.
while submitting to store its complain as "Package acceptance validation error: WMAppManifest.xml wasn’t found" tough it exists.
Local windows app certification kit complaining that there is an error in reading this file.
also looked into below post, MY wmappmanifest schema looks correct
AppManifest Validation failed. Invalid AppPlatformVersion in WMAppmanifest.xml
Could you please help me in figuring out the issue here? you help is highly appricated.
My silly mistake. After editing xap file, while creating zip file creating folder inside folder. It is fixed now.
I am trying to import DebugKit and CakePHP is producing the following error: DebugKit.ToolbarComponent could not be found.
Right below it, it says:
Create the class ToolbarComponent below in file:
/Users/SomeUser/Sites/SomeProject/app/Plugin/DebugKit//Controller/Component/ToolbarComponent.php
If you notice though, there are two slashes between DebugKit and Controller for some reason, and that's obviously not a real directory. The server running PHP 5.4.17. I have followed the exact installation instructions listed here. Any suggestions?
I had the same problem and solved it by changing the permissions to 755 to folders within DebugKit.
When I encountered this problem, I realized I had a Plugin/DebugKit folder structure in my project's root, and under the app directory. The one under app was empty, save for a blank file called empty. Strange. I have no idea how this happened. (Perhaps from accidentally running composer as non-root?) I deleted app/Plugin/DebugKit, and moved the one from the project root into app. No more error.
DebugKit does not currently seem to be compatible with cakephp 3.0 even though it is the example in the documentation.
The latest version still seems to use the 2.x methods.
I will also submit a ticket regarding this to update their documentation to prevent confusion.
If there is something I missed regarding this issue and it is actually possible to install this, let me know.
Is there a way to get details about this error? I turned off custom errors:
It looks like I am missing a skin file. How do I get it back? I used the one from the default install of DNN 6.2.4.
You could look at your DotNetNuke log4net config settings and check where you are logging errors. The default location is {DotNetNuke_Root_Folder}/Portals/_default/Logs/.
The log level by default is set on error so you can change that to "Debug" if you want by changing the element in the following config file {DotNetNuke_Root_Folder}/DotNetNuke.log4net.config
You can copy the skin's folder in your DotNetNuke installation zip file to your installed DotNetNuke website. Path to skins (DotNetNuke_Community_07.00.05_Install.zip\Portals_default\Skins)
Hope this helps.
You can get all error detail from LogViewer module of DotNetNuke
Login as administrators then go to Admin-Event Viewer , here you can find the details about error.
I had this error also; on a local instance. After installing a DNN Template via the .visx file, IIS had set up a virtual directory for the desktopmodules folder. Removing the virtual directory cleared this right up in my case. Took a long time to troubleshoot, so hopefully this helps someone avoid the wild goose chase.