wp-admin 503 error

I am getting a 503 service unavailable error only on my wp-admin page and not my main site and I cannot figure out what has gone wrong! Steps I've taken to try to fix it are: disabled all plugins changed theme by both deleting from filesystem and through DB rolled back to a backup from a month ago when the wp-admin page was definitely working there is no custom code on the site called my web hoster and we have …
Category: Web

How to queue API requests with PHP in WordPress?

I'm developing a plugin to manage some simple custom APIs. I'd like to handle clients requests to APIs with a queue, so as not to handle all requests in parallel but one at a time, with a FIFO logic: when one request has been satisfied, the next one in the queue is processed and so on ... I tried to use the Pheanstalk library but the server responds with error 500, as a development environment I am using Devilbox, how …
Category: Web

index.php not loading in main folder of wordpress

I just installed [first time] WordPress 4.3.1, but I was facing the problem with it so I downgraded and installed 4.2.5 and facing same problem. Problem: index.php is not loading, I clicked on link and also write in url but still not working I uninstalled and then later I reinstalled and tried again but facing same problem. After some google, I also tried other options as suggested on other websites. Remember, index.php on other directories are working fine. Edit .htaccess …
Category: Web

Internal Server Errors - Moving working multi-site install to my localhost

So I keep bumping into server errors and I can't seem to spot where the issue is stemming from. I am able to log in to my admin panel but the redirects keep creating errors. Not sure if the issue lies in my .htaccess (which everytime I change seems to just make the matter worse), my .wp-config file or in my database tables (wp_site, wp_options etc) I have my multi-site install located in WAMP folder at /www/oggo-local/ and am using …
Category: Web

Internal Server Error upon installation

I'm developping a website using wordpress, i got domain name, i accessed the cpanel, and I installed Wordpress using Softaculous. The problem is when the installation is complete, I try to open the link but I get this error Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator at [email protected] to inform them of the time this error occurred, and the actions you performed just before …
Category: Web

Internal Server Error after restoring MySQL databases

I just changed the host of my personal website, which is run using WordPress. I took a backup of my MySQL database before migration and uploaded the same backup to my new database. The website displays properly, but I can't log in. It does not detect my old username and password, and when I request for a new password through the "forgot password?" section, I encounter this error: Internal Server Error The server encountered an internal error or misconfiguration and …
Category: Web

Custom form in theme template displaying internal server error upon submission

I have a custom form in WordPress theme template but it is displaying internal server error upon submission. There is no error in error.log file regarding this submission. I am hosting my website on bluehost and here is my form <form method="post" action="<?php echo get_template_directory_uri(); ?>/formprocessing.php"> <label for="first-name">Name*</label> <input class="form-control" type="text" id="name" name="volunteerName" required/> <label for="address">Address*</label> <input class="form-control" type="text" id="address" name="volunteerAddress" required/> <label for="email">Email*</label> <input class="form-control" type="email" id="email" name="volunteerEmail" required/> <input class="form-control" class="btn btn-primary" type="submit" value="Submit" id=""/> </form> In formprocessing.php …
Category: Web

HTTP ERROR 500 after installing child-theme [Wordpress]

I just created and activated a child theme and now I'm getting the HTTP ERROR 500. I've deleted the child theme through FTP and still getting the error. Also tried changing wp-content/themes to wp-content/themestemp and that allows me to get back into the wp-admin panel but when I'm trying to install a new theme Wordpress can't create a new directory for the themes. Is there a way to recover the primary theme? Thanks in advance!
Category: Web

How to Fix “Are You Sure You Want to Do This”, while uploading my theme?

While uploading my theme is live server it shows this message "Are You Sure You Want to Do This". My theme contain visual composer and revolution slider,But interesting thing is when I upload the theme without slider revolution, it uploads normally. So I think it may cause about the theme folder size.without slider revolution it is 8M and with it, the theme size is 15M. But my php ini file is with this status: memory_limit = 128M ,upload_max_filesize = 60M, …
Category: Web

Internal server error

I designed 2 Wordpress sites, one was inside another which you can get to by calling the folder where the second installation is. The first person that started the design used the first installation (www.example.com) as a coming soon page while he used the second (www.example.com/mainsite) for the design of the main website. He started it this way before he left the job for me to finish. I finished designing at .../mainsite and was supposed to move to it to …
Category: Web

Unable to load Posts list & Getting error 500 error

List of Posts & Events doesn't load. Can't publish new either. Pages work fine. There was another error too which are now ignored using this: https://stackoverflow.com/a/32860981/1463443 I tried by disabling all plugins. But the issue isn't there I suppose! Attaching few screenshots. Error on posts list Error after trying to add new Post / Event
Category: Web

500 Internal server error after changing php version

I recently uploaded a new wordpress website on a hosting service (with cpanel). I tried to change the php version because the wp theme gave me some errors on mobile but after i changed the php version the site went down with the 500 internal server errors. I deleted the plugin folder, reset the htaccess, reupload wp-content and wp-includes but nothing happened. This is the error log: [Thu Oct 06 05:17:16 2016] [alert] [client 188.11.159.103] /home/website/.htaccess: without matching section, referer: …
Category: Web

Can't bring up front or back end of site but all files still exist. What might be happening?

UPDATE -Feb 2 I've recently brought it back over to a testing server instead of a localhost environment. The address is http://onlinewebdraft.com/nuggettesting/ I have renamed my plugins folder and my genesis and genesis child folders to deactivate them but I still get nothing. This one is a doozy and I'm willing to offer some points for the right answer (I can do that right?). I had a website up (no point giving the link as it's just a landing page …
Category: Web

Wordpress giving error when I log in after trying emergency.php

I could not remember my username or password for my WordPress website. I tried using the emergency.php script. I logged and I tried a few different possibilities for username, of which none worked. Now when I try log in to my website it just has 'error' instead of my site which was working perfectly. How do I get my site back up and running and is it possible to create new log in details if all I have is the …
Category: Web

WordPress displays 500 error on PHP errors

For some reason WP is showing a generic 500 Internal Server Error page when I have PHP errors in my code. I have set WP_DEBUG to true, and the following settings in my php.ini file: error_reporting = -1 log_errors = On display_errors = On I tried triggering an error in my index.php and wp-config.php files and at that point errors are displayed fine, if I have a PHP error in my theme files then the 500 error page is shown …
Category: Web

Website goes down while importing backup (Internal server 500)

I have a WordPress website running on a machine. PHP has allocated memory of 128MB. Since I have two WP sites being host under same hosting it is consuming around 95MB out of 128MB on normal load.. I wanted to move new theme with custom fields types (Advanced Custom Fields). We created a test environment on other server. Developed theme their and prepared the content we require to move on production website (posts, pages etc with custom fields). Since we …
Category: Web

Getting Internal server in sub folder pages

I have just created sub folder called "blog", so access link is example.com/blog. I have installed WordPress in blog folder, configure database and all but when access above link then I am getting error called Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator to inform of the time the error occurred and of anything you might have done that may have caused the error. More …
Category: Web

While doing ajax, WordPress returning internal server error 500 and stating that my theme functions are undefined

I have an ajax call in my js file loaded in footer (it actually doesn't matter if I make it simpler or without the json parsing, I will get the same errors) - in this case I pass the callback and any arguments in a function; if I just make this plain and simple it doesn't change: function pigafettaGetJSON(func, a) { var output = $.parseJSON( $.ajax({ type: 'POST', url : pigafetta.ajax_url, data : { action : func, args : a …
Category: Web

Problems with 'require (./xxx)' on IIS7.5

I'm not sure if this is best suited to the Wordpress SE site or if it should be on Server Fault or SO... Either way: I'm having problems running Wordpress on a brand new 2008R2 server running IIS7.5. I get an error stating that a required file cannot be found: PHP Fatal error: require(): Failed opening required './wp-blog-header.php' (include_path='.;C:\php\pear') in D:\path\to\my\site\blog\index.php on line 17 Having looked around the web I can see that a lot of people have had this …
Category: Web

About

Geeks Mental is a community that publishes articles and tutorials about Web, Android, Data Science, new techniques and Linux security.