Jump to content

Recommended Posts

my site regularly encounter errors, and I'm not sure what's going on, because I did not edit anything "

"
Service Unavailable

The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.

Additionally, a 503 Service Unavailable error was encountered while trying to use an ErrorDocument to handle the request.
"

I use webhosting for 2 sites, wordpress,

Folder tree as follows : home/mysite.com , home/mysite.com/mysite2/ , and I use 2 different domain for 2 sites.

when buying a new server and upload the data, I have changed their position, and the error occurred on.
I have contacted the host team, and was told, there are problems with PHP.
 
Addition, I use a genesis, and the Prose child theme, and custom code in wp-admin error :
" The /wp-content/uploads/prose/ folder does not exist or is not writeable. Please create it or change file permissions to 777."
 

Warning: file_get_contents(/home/content/73/10682773/html/wp-content/uploads/prose/custom.css): failed to open stream: No such file or directory in /home/quangkhanh/public_html/javdownload/wp-content/themes/prose/lib/admin/custom-code.php on line 168
Warning: file_get_contents(/home/content/73/10682773/html/wp-content/uploads/prose/custom.php): failed to open stream: No such file or directory in /home/quangkhanh/public_html/javdownload/wp-content/themes/prose/lib/admin/custom-code.php on line 182
 
Please help me!

 

post-172277-0-84315200-1405829131_thumb.png

Link to comment
https://forums.phpfreaks.com/topic/290003-occasional-503-errors/
Share on other sites

Related to the error of "Prose theme", I discovered when creating a new page and import the database.
please help me fix this, or remove it from the database

 

SQL query:
INSERT INTO `wp_yarpp_related_cache` (`reference_ID`, `ID`, `score`, `date`) VALUES (27737,6798,5.5,'2014-02-16 17:10:14'),
(27737,20773,5.5,'2014-02-16 17:10:14'),(27737,24014,5.5,'2014-02-16 17:10:14'),(27739,20077,61.2,'2014-02-16 17:13:03'),
(27739,22516,28.8,'2014-02-16 17:13:03'),(27739,19024,22.1,'2014-02-16 17:13:03'),(27739,26371,16.1,'2014-02-16 17:13:03'),
(27739,24813,15.9,'2014-02-16 17:13:03'),(27739,21627,15.2,'2014-02-16 17:13:03'),(27739,25384,14.6,'2014-02-16 17:13:03'),
(27739,7475,14.6,'2014-02-16 17:13:03'),(27739,20547,14.5,'2014-02-16 17:13:03'),(27739,21741,14.4,'2014-02-16 17:13:03'),
(27741,22672,54.9,'2014-02-16 17:14:34'),(27741,22488,20.4,'2014-02-16 17:14:34'),(27741,26769,17.3,'2014-02-16 17:14:34'),
(27741,6126,14.8,'2014-02-16 17:14:34'),(27741,22362,13.7,'2014-02-16 17:14:34'),(27741,27586,13.5,'2014-02-16 17:14:34'),
(27741,27739,13.2,'2014-02-16 17:14:34'),(27741,22461,12.8,'2014-02-16 17:14:34'),(27741,27508,12.4,'2014-02-16 17:14:34'),
(27741,22861,11.9,'[...]
MySQL said: Documentation
#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax

to use near ''2014-03' at line 1

 

In post#2 above, how many bytes do you think the query string is? At the end of the query, I see [...] which means there is more than the string length limit for this line of error report.

 

I will assert that the query is getting chopped off (truncated) as it is passing through the MySQL client to the server because it exceeds the string length limit.

 

But my having absolutely no knowledge of Wordpress, I cannot make a suggestion as to where or why this SQL statement is being assembled.

 

If you have control over the database, you may find a databse configuration setting that will let you pass a higher string length limit.

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.