You can also run the test on a PHP file you name with whatever you want. To create the file go into your File Manager, on your htdocs folder, click on the square with a + on it, click âNew Fileâ, then name it whatever you want (making sure it has .php in the end) and click OK. In the editor it opens, paste the code, then save, wait and close.
I guess I will have to recreate the entire website and all my products to fix problem since there is no support going in to see why the error 500 suddenly occurred after all these years.
If itâs the issue weâre suspecting, that wonât help at all, because no matter what website you create, it will end up being broken. To put it shortly, the issue weâre suspecting is that the volume youâre on might have a broken version of PHP that canât execute anything. The test file will help verify that; if the test file works fine, then the PHP version isnât broken, and you just need to troubleshoot the issue:
The file manager may be a bit clunky; Iâd still recommend manually creating the file in your computer (via a text editor) and uploading it via FTP from the guide I linked above:
I just realized I had linked to the wrong guide above, so Iâve now corrected that. My bad!
here is a copy of errors, hope it is helpful
Uncaught SyntaxError: Invalid left-hand side in assignment
index.live.php:1 Failed to load resource: the server responded with a status of 404 ()
indexpl.php?id=73b7fe4931d2abac3c682a5e21804bc32e791153:770 A parser-blocking, cross site (i.e. different eTLD+1) script, https://secure.statcounter.com/counter/counter.js, is invoked via document.write. The network request for this script MAY be blocked by the browser in this or a future page load due to poor network connectivity. If blocked in this page load, it will be confirmed in a subsequent console message. See Chrome Platform Status for more details.
(anonymous) @ indexpl.php?id=73b7fe4931d2abac3c682a5e21804bc32e791153:770
indexpl.php?id=73b7fe4931d2abac3c682a5e21804bc32e791153:770 A parser-blocking, cross site (i.e. different eTLD+1) script, https://secure.statcounter.com/counter/counter.js, is invoked via document.write. The network request for this script MAY be blocked by the browser in this or a future page load due to poor network connectivity. If blocked in this page load, it will be confirmed in a subsequent console message. See Chrome Platform Status for more details.
(anonymous) @ indexpl.php?id=73b7fe4931d2abac3c682a5e21804bc32e791153:770
cpanel-foot-google.js:1 Uncaught TypeError: Cannot read properties of null (reading âparentElementâ)
at HTMLDocument. (cpanel-foot-google.js:1:6260)
adsbygoogle.js:207 Uncaught TagError: adsbygoogle.push() error: No slot size for availableWidth=0
at mo (adsbygoogle.js:168:29)
at oo (adsbygoogle.js:166:1150)
at uo (adsbygoogle.js:171:91)
at Ao (adsbygoogle.js:177:161)
at Up (adsbygoogle.js:202:105)
at Tp (adsbygoogle.js:201:622)
at bq (adsbygoogle.js:217:465)
at Yp.e.client (adsbygoogle.js:210:43)
at le.ea (adsbygoogle.js:49:239)
at cj (adsbygoogle.js:83:19)
5111:1 Access to font at âhttps://cdn.8proof.com/ads/assets/fonts/montserrat-v25-latin-600.woff2â from origin âhttps://8proof.comâ has been blocked by CORS policy: No âAccess-Control-Allow-Originâ header is present on the requested resource.
montserrat-v25-latin-600.woff2:1 Failed to load resource: net::ERR_FAILED
5111:1 Access to font at âhttps://cdn.8proof.com/ads/assets/fonts/montserrat-v25-latin-800.woff2â from origin âhttps://8proof.comâ has been blocked by CORS policy: No âAccess-Control-Allow-Originâ header is present on the requested resource.
montserrat-v25-latin-800.woff2:1 Failed to load resource: net::ERR_FAILED
5The deviceorientation events are blocked by permissions policy. See
/execute/Notifications/get_notifications_count?cache-fix=0.25111796893681904:1 Failed to load resource: the server responded with a status of 404 ()
I will try to install a backup and redo my site completely over. Hope it works. I do not have the expertise to figure out how to correct all these errors I have found. Thank you again to everyone who tried to help.
thank you⊠i have added your Header set Access-Control-Allow-Origin"*" header code in .htaccess
site didnât come back
as well as the suggested php test code in file created in htdocs