Very new need a lot of help

Hi,

so im very new to hosting a website and I tried to follow multiple step by step Tutorials but I either get a 403 error message in my website or just an empty page.

I used to host my website locally over mamp for a uni project I used contao as my cms and I already put all my files from local htdocs folder into my infinity htdocs folder without an issue also imported my sql database but I dont know what I need to do to see/access my website ? am I missing something ?
my website URL is http://didz.rf.gd

Hi and welcome to the forum! For me your website throws a HTTP ERROR 500:

3 Likes

Thank you ! so I now know what the error is but once I try to upload the missing file into my folder it works and it uploads it but after its done I cannot see it ? like it doesn’t show in my folder ?

there is a path in the error message /usr/share/pear/

PEAR is a framework and distribution system for reusable PHP components but is not supported on free hosting

okay might be a stupid question but do you know how I can fix that ?

@lovebug, I think the problem is the autoloader file missing, not PEAR in this case.

@uni1902, can you try this?

Maybe the autoload_static.php file your software is using is optimized, that’s why it gets deleted after your website is uploaded because it weighs more than free hosting allows (1 MB).

3 Likes

@JxstErg1 ah yes, I do apologize

1 Like

okay so i fixed that but now I have a issue with my contao cms do you maybe also know how I could fix that if id copy the error messages here ? its pretty long so idk

Never hurts to try

3 Likes

[2024-07-07T14:29:01.376909-04:00] request.CRITICAL: Uncaught PHP Exception InvalidArgumentException: “A non-empty secret is required.” at UriSigner.php line 28 {“exception”:“[object] (InvalidArgumentException(code: 0): A non-empty secret is required. at /home/vol7_3/infinityfree.com/if0_36502831/didz.rf.gd/htdocs/vendor/symfony/http-foundation/UriSigner.php:28)”} {“request_uri”:“http://didz.rf.gd/?i=2",“request_method”:"GET”}
[2024-07-07T14:29:01.813312-04:00] php.CRITICAL: Uncaught Exception: An exception occurred in the driver: SQLSTATE[HY000] [2002] No such file or directory {“exception”:“[object] (Doctrine\DBAL\Exception\ConnectionException(code: 2002): An exception occurred in the driver: SQLSTATE[HY000] [2002] No such file or directory at /home/vol7_3/infinityfree.com/if0_36502831/didz.rf.gd/htdocs/vendor/doctrine/dbal/src/Driver/API/MySQL/ExceptionConverter.php:101)\n[previous exception] [object] (Doctrine\DBAL\Driver\PDO\Exception(code: 2002): SQLSTATE[HY000] [2002] No such file or directory at /home/vol7_3/infinityfree.com/if0_36502831/didz.rf.gd/htdocs/vendor/doctrine/dbal/src/Driver/PDO/Exception.php:28)\n[previous exception] [object] (PDOException(code: 2002): SQLSTATE[HY000] [2002] No such file or directory at /home/vol7_3/infinityfree.com/if0_36502831/didz.rf.gd/htdocs/vendor/doctrine/dbal/src/Driver/PDO/MySQL/Driver.php:33)”} {“request_uri”:“http://didz.rf.gd/?i=2",“request_method”:"GET”}

so ik its because of the Symfony UriSigner Exception the first one and the second one Doctrine DBAL Connection Exception but I dont know how to fix it ? this is the first time im ever working with any database or cms so im a bit overwhelmed with the error message

“A non-empty secret is required” implies that there should be some setting or secret value or password or something that should be passed to this piece of PHP code that’s not set or not being read correctly or not being passed on correctly.

As for what this means in the context of Contao, I have no idea. In any case, this doesn’t seem like a hosting related issue to me.

I would suggest to search the web for similar issues, or find a Contao expert to help you with this.

This one is more clear. A “No such file or directory” in the context of a database connection always means that you are using localhost as the database hostname, which is not correct. The database hostname should look something like sqlXXX.infinityfree.com, where XXX are three numbers. The right value to use for your account can be found on the MySQL Databases page in the client area.

3 Likes