Unable To Verify Purchase Code

0

Trying to install Simple Stock Manager V2.1.2 since my V3.0.0 doesn't work (loaded with white blank page with Tecdiary title on top).

On the V2.1.2, I managed to load the Verify screen where they ask to input Envato Username and Purchase code. Entered it and gave me a red bar "X :" with no description on what's happening.

Anybody knows how to fix this?

Question Resolved For: Simple Stock Manager 0 Votes 7 Answers 1.2k Views
Asked by Rasidi Rahim 2 years ago

0

Answered by Mian Saleem 2 years ago

Hello,

If there is no error message but x only that means your request is not reaching to server and being blocked by your server.

I suggest you install v3. Just upload the files to your server and add subdomain with path to public folder in your uploaded file. Please make sure that you have php8.1 and access the installer in browser.

If still blank page, please check the server php error logs and Laravel logs in storage/logs/ folder and let me know the error details so that I can suggest solution.

Thank you

0

Answered by Erdi 2 years ago

@Rasidi Rahim

If you have a white screen problem while trying to setup on hosting, you can try the solution below.

https://dev.to/vumanhtrung/setup-an-htaccess-file-for-redirecting-to-laravel-s-public-folder-1e1j

0

Answered by Rasidi Rahim 2 years ago

Following your recommendation, I attempted to install V3.0.0 again. Although I encountered a blank screen, I was able to resolve the issue by switching to a different browser (Microsoft Edge), which enabled me to successfully run the installer.

However, I am currently experiencing a problem whereby, despite entering all the necessary server details, I am receiving an error message that reads "Server Error".

Below is a summary of the contents of the log file.

[2023-03-11 15:46:16] production.ERROR: PDO::exec(): Argument #1 ($statement) must be of type string, Illuminate\Database\Query\Expression given {"exception":"[object] (TypeError(code: 0): PDO::exec(): Argument #1 ($statement) must be of type string, Illuminate\Database\Query\Expression given at /var/www/cpcg.summerpixels.com/vendor/laravel/framework/src/Illuminate/Database/Connection.php:594)
[stacktrace]

0

Answered by Mian Saleem 2 years ago

Hello,

I am not sure but guess the database details were not correct and the system was unable to connect to database server. Please let me know the server details in private reply so that I can check.

Thank you

0

Answered by Erdi 2 years ago

Rasidi Rahim Hello,

I had the same problem and solved it this way. If you follow step by step, you can solve it too.

Attached is the file I shared,
"\vendor\laravel\framework\src\Illuminate\Database\Query"
paste in, but backup your "Expression" file first.

Complete the installation. When you press the "Finalize" button, it gives a server error, ignore it.

Go to the home page of your website and login.

When you log in as a user, a "500 Server Error" page will appear.

Restore the "Expression" file you backed up and refresh the page.

The problem will be solved.

0

Answered by Mian Saleem 2 years ago

Erdi That is Laravel framework file and not suggested to modify. The latest version required php8.1+

Thank you

0

Answered by Rasidi Rahim 2 years ago

I'll put as solve as I've managed to install V2 instead of V3.
For Centos, make sure SELINUX is disabled/exception and the relevant modules for PHP is installed.

We use Cookies

We use cookies to ensure that we give you the best experience on our website. By continuing to browse the site you are agreeing to our use of cookies.