"500 error" Archives - David Yin's Blog https://www.yinfor.com/tag/500-error Tech geek. Life geek. Sat, 27 Jan 2024 02:11:53 +0000 en-US hourly 1 https://wordpress.org/?v=6.7.1 https://www.yinfor.com/wp-content/uploads/2016/09/cropped-icon-120x120.png "500 error" Archives - David Yin's Blog https://www.yinfor.com/tag/500-error 32 32 Error 500 of WordPress Admin https://www.yinfor.com/2024/01/error-500-of-wordpress-admin.html https://www.yinfor.com/2024/01/error-500-of-wordpress-admin.html#respond Sat, 27 Jan 2024 18:09:05 +0000 https://www.yinfor.com/?p=9456 WordPress has this problem, sometimes. I tried to sign in the backend of the WordPress website. It took a little bit longer to show the page without CSS or JS. It looks like below: So I open the Web Developer...

The post Error 500 of WordPress Admin appeared first on David Yin's Blog.

]]>
WordPress has this problem, sometimes. I tried to sign in the backend of the WordPress website. It took a little bit longer to show the page without CSS or JS.

It looks like below:

So I open the Web Developer Tools of the browser Firefox. Check the Network.

Refresh the page.

There is one 500 error on the site.

/wp-admin/locad-styles.php?**********

It is a script to combine the styles into one file. Then it is broken.

The solution I found on Google is to add a configuration line into the wp-config.php file.

 

Open the wp-config.php file.

Add the following before the require_once.

define('CONCATENATE_SCRIPTS', false); 

Then, refresh the Admin page. It looks OK.

All the CSS files are loaded individually.

The real reason, I believe, is because the Plugin or Theme has a small compatible issue with the WordPress program.

The post Error 500 of WordPress Admin appeared first on David Yin's Blog.

]]>
https://www.yinfor.com/2024/01/error-500-of-wordpress-admin.html/feed/ 0
PHP – Parse error: syntax error, unexpected end of file https://www.yinfor.com/2015/05/php-parse-error-syntax-error-unexpected-end-of-file.html https://www.yinfor.com/2015/05/php-parse-error-syntax-error-unexpected-end-of-file.html#respond Fri, 15 May 2015 00:50:28 +0000 https://www.yinfor.com/?p=4258 FastCGI sent in stderr: “PHP message: PHP Parse error: syntax error, unexpected end of file in /your_path/yourscript.php on line 308” while reading response header This is the error when I check the php log file. Because I met the blank...

The post PHP – Parse error: syntax error, unexpected end of file appeared first on David Yin's Blog.

]]>

FastCGI sent in stderr: “PHP message: PHP Parse error: syntax error, unexpected end of file in /your_path/yourscript.php on line 308” while reading response header

This is the error when I check the php log file. Because I met the blank page with 500 internal error, which is loaded OK on the other server.

The real reason is I use (<? ?> ) and (<?php ?>) in mix. So I faced with this parse error when running the script on different systems:

Parse error: syntax error, unexpected $end in X on line Y

where X is the file path and Y the line number, usually the last line of the file. But the shotform may not there.

To avoid this error, refrain yourself from using the short form and stick to ( <?php ?>), despite the extra 3 characters. This will make your code universally accessible and it is essential if your developing for beyond your own personal use. If you insist in using the short form (<? ?> ), and you get this error, you can enable the short form option in the php.ini file.

short_open_tag=On

Keep in mind though, that the short form is supposed to be deprecated in PHP 6. If this goes through you will have to go back and change all your source files.

 

In the furture, I wil keep using long form of it only.

The post PHP – Parse error: syntax error, unexpected end of file appeared first on David Yin's Blog.

]]>
https://www.yinfor.com/2015/05/php-parse-error-syntax-error-unexpected-end-of-file.html/feed/ 0
Classic ASP program with Access database on Windows server 2008 https://www.yinfor.com/2013/11/classic-asp-program-with-access-database-on-windows-server-2008.html https://www.yinfor.com/2013/11/classic-asp-program-with-access-database-on-windows-server-2008.html#respond Fri, 15 Nov 2013 09:27:12 +0000 https://www.yinfor.com/?p=1408 Got error 800a0cb3 from the Web log file at Windows Server 2008. It is IIS7. The Web application is made by ASP. Actually classic ASP, not ASP.Net. And also with Access database.  The page is try to add new record...

The post Classic ASP program with Access database on Windows server 2008 appeared first on David Yin's Blog.

]]>
Got error 800a0cb3 from the Web log file at Windows Server 2008. It is IIS7. The Web application is made by ASP. Actually classic ASP, not ASP.Net.

And also with Access database.  The page is try to add new record into the Access database file. But the browser return 500 internal error. The detail error code in log file is 800a0cb3 with the description: Recordset does not support updating. This may be a limitation of the provider or of the selected locktype.

I did a lot of research and found it is a right issue.

Now it is the solution:

Add “Authenticated Users” to the Access mdb file, with full access right.

access-win2008-permission

Then, no more error, the data can be added as design.

The post Classic ASP program with Access database on Windows server 2008 appeared first on David Yin's Blog.

]]>
https://www.yinfor.com/2013/11/classic-asp-program-with-access-database-on-windows-server-2008.html/feed/ 0
Solution of Dreamhost memory limitation https://www.yinfor.com/2010/08/solution_of_dreamhost_memory_l.html https://www.yinfor.com/2010/08/solution_of_dreamhost_memory_l.html#comments Mon, 09 Aug 2010 23:15:13 +0000 https://www.yinfor.com/?p=784 The previous post I wrote explain why 500 internal error happen when MovableType publishing. At the last, I promise that I will tell you how to solve this problem without upgrading your sharing host to VPS. KEY point: The 120MB...

The post Solution of Dreamhost memory limitation appeared first on David Yin's Blog.

]]>
The previous post I wrote explain why 500 internal error happen when MovableType publishing.
At the last, I promise that I will tell you how to solve this problem without upgrading your sharing host to VPS.
KEY point: The 120MB memory limit is per user.
If you know that, the answer is simple.
In one Dreamhost account, you can create many, many users. So
Create a new user for Movabletype powered blog.


Follow my step by step howto.
1) Login https://panel.dreamhost.com
2) Domains > Manage Domain
3) Click EDIT link of the domain which has Movabletype on.
4) Just under Users, Files, and Paths
Click the pulldown menu of users, choose create a new user.
5) After enter the new user name, then new option shows that
Move files to the new user?
Keep it as checked.
6) Click the blue “Change Settings” button.
After few minutes, all files under this domain, will be copied to new user account.
Then the 500 internal error gone.
You can use linux command top to check how much memory used per user.

The post Solution of Dreamhost memory limitation appeared first on David Yin's Blog.

]]>
https://www.yinfor.com/2010/08/solution_of_dreamhost_memory_l.html/feed/ 4