FD
Asked
Hello Support Team,
I'm experiencing a 500 Internal Server Error when trying to access the installer for SimplePOS v5, which I've purchased from CodeCanyon (license verified). I'm attempting to install it in a subfolder on my shared cPanel hosting.
Environment Details:
Server: cPanel shared hosting
PHP Version: 8.2/8.3 (as per requirements)
MySQL Version: Available and configured
Purchase: Valid CodeCanyon license
Issue:
When accessing https://tamad.net/pos/install, I receive a 500 error. An error_log.php file is being created in the /pos/public/ folder indicating database connection issues, even though the installer hasn't run yet to configure the database.
here is exect error: [01-Dec-2025 19:57:43 UTC] PHP Fatal error: Uncaught PDOException: SQLSTATE[28000] [1045] Access denied for user 'forge'@'localhost' (using password: NO) in /home/sphgzjwpay/tamad.net/pos/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php:66
I shouldn't be getting this DB error because installer supposed to be doing everything.
What I've Tried:
File Structure:
All SimplePOS files uploaded to /tamad.net/pos/ directory
Verified public folder exists with index.php and .htaccess
Complete vendor folder is present
Valid file and folder Permissions like 0755 & 0644
.htaccess Configuration (Multiple Attempts):
Attempt 1 (your default code):
DirectoryIndex index.php
RewriteEngine On
RewriteCond %{REQUEST_URI} !^public
RewriteRule ^(.*)$ public/$1 [L]
Attempt 2 - Basic redirect:
apache DirectoryIndex index.php
RewriteEngine On
RewriteCond %{REQUEST_URI} !^public
RewriteRule ^(.*)$ public/$1 [L]
Attempt 3 - With RewriteBase:
apache
RewriteEngine On
RewriteBase /pos/
RewriteCond %{REQUEST_URI} !^/pos/public/
RewriteRule ^(.*)$ public/$1 [L]
Other methods tried.
1 - Also tried putting all files from public to root but didn't work; also created own. env then got a blank page for install page
2 - tried clear cache php artisan config:clear and got error which I should be its simple cache clearing.
Eror:
[sphgzjwpay@server44 pos]$ /opt/alt/php83/usr/bin/php artisan config:clear or migrate (same error)
In backup.php line 132:
Class "ZipArchive" not found
3 - alsoe tried creting .env file from example.env and specefying db cred but didnt worked.
please help make this code work, in our domain at tamad.net/pos. I tried exactly as specified in documentation provided in along with this code.
Thanks
I'm experiencing a 500 Internal Server Error when trying to access the installer for SimplePOS v5, which I've purchased from CodeCanyon (license verified). I'm attempting to install it in a subfolder on my shared cPanel hosting.
Environment Details:
Server: cPanel shared hosting
PHP Version: 8.2/8.3 (as per requirements)
MySQL Version: Available and configured
Purchase: Valid CodeCanyon license
Issue:
When accessing https://tamad.net/pos/install, I receive a 500 error. An error_log.php file is being created in the /pos/public/ folder indicating database connection issues, even though the installer hasn't run yet to configure the database.
here is exect error: [01-Dec-2025 19:57:43 UTC] PHP Fatal error: Uncaught PDOException: SQLSTATE[28000] [1045] Access denied for user 'forge'@'localhost' (using password: NO) in /home/sphgzjwpay/tamad.net/pos/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php:66
I shouldn't be getting this DB error because installer supposed to be doing everything.
What I've Tried:
File Structure:
All SimplePOS files uploaded to /tamad.net/pos/ directory
Verified public folder exists with index.php and .htaccess
Complete vendor folder is present
Valid file and folder Permissions like 0755 & 0644
.htaccess Configuration (Multiple Attempts):
Attempt 1 (your default code):
DirectoryIndex index.php
RewriteEngine On
RewriteCond %{REQUEST_URI} !^public
RewriteRule ^(.*)$ public/$1 [L]
Attempt 2 - Basic redirect:
apache DirectoryIndex index.php
RewriteEngine On
RewriteCond %{REQUEST_URI} !^public
RewriteRule ^(.*)$ public/$1 [L]
Attempt 3 - With RewriteBase:
apache
RewriteEngine On
RewriteBase /pos/
RewriteCond %{REQUEST_URI} !^/pos/public/
RewriteRule ^(.*)$ public/$1 [L]
Other methods tried.
1 - Also tried putting all files from public to root but didn't work; also created own. env then got a blank page for install page
2 - tried clear cache php artisan config:clear and got error which I should be its simple cache clearing.
Eror:
[sphgzjwpay@server44 pos]$ /opt/alt/php83/usr/bin/php artisan config:clear or migrate (same error)
In backup.php line 132:
Class "ZipArchive" not found
3 - alsoe tried creting .env file from example.env and specefying db cred but didnt worked.
please help make this code work, in our domain at tamad.net/pos. I tried exactly as specified in documentation provided in along with this code.
Thanks
- MSAnsweredHello,
The installer will create env file and if the installation failed this might cause the 500 error. You can delete the .env file in that case. I will check to improve this.
Please delete the `.env` file and try to install again. If you want me to check, please let me know the server details in private reply.
Thank you - FDAnsweredI already tried, and yes it does create the .env and i deleted it and tried it again. but let me try it again just to make sure
- FDAnswered**[@Mian Saleem](/u/saleem)** Yes, I tried again.
I tried the steps you mentioned, but I’m still facing the same issue. The error I already described in the text file persists. It simply falls back to the default environment configuration if I remove the .env file.
Could you please update the code for the .htaccess file according to my environment as explained in the text file, and share the steps I need to follow? Also, let me know if there’s anything else we might be forgetting.
Additionally, can you explain why we are getting that ZIP error when we clear the cache (as mentioned in the text file)? - FDAnswered[@Mian Saleem](/u/saleem) How do I send you a private reply?
- MSAnsweredHello,
The redirecting traffic to public with web server config or symbolic folder. This is to secure the installation but it has no relation with install process.
I am not sure what's the zip error? Please mention the full error message. If you are saying that installer is asking to enable/instal the zip extension then you can check with server admin as to enable it.
Please check the `Private` at top right of reply section to add private reply.
Thank you - Login to Reply