NamelessMC

Internet Explorer

Internet Explorer is not supported. Please upgrade to a more modern browser.

Syntax error or access violation: 1064
Started by uneffy

uneffy

uneffy

Member
Joined
09 Jul 2023
Last Seen
08 Sep 2023
Topics
1
Posts
1

Not sure what caused this or what happened, cant access any parts of the website shows 404s

Also the only thing in the fatal error was this error

[2023-08-21, 02:33:52] /home/phantomn/public_html/core/classes/Database/DB.php(253): SQLSTATE[42000]: Syntax error or access violation: 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 '4.3556713693115E+19' at line 1

 

 

uneffy · 11 months ago · Last edited: 11 months ago
Samerton

Samerton

Owner
Joined
30 Mar 2015
Last Seen
22 Jul 2024
Topics
41
Posts
1067

Hi,

The error log looks unrelated in this case as it was from 5 days ago.

The text showing on your site is a result of editing some of the files on your website.

Unfortunately I cannot be specific as to which files have been edited as it could be any of them. The text at the top saying "Save New Duplicate & Edit Just Text Twitter" is not from Nameless so it has been copied from elsewhere and inserted into a file.

The text below this is from the .htaccess file so I would assume this file no longer exists or its contents are incorrect as this is also the cause of the 404s. Maybe the .htaccess file was missing so someone has tried to add it, and they have done so incorrectly? This wiki guide has further information on the .htaccess file.

You can try changing to the Default Revamp template to see if the text goes away. If so then the files which have been edited are within your custom template. If not then any file on the website could have been edited so try looking through the files on your web host and see if the Last Edited date of any of the files are different, then open them up to see if the text you're seeing at the top of the file has been pasted in by mistake.

Samerton · 11 months ago