http 500 error after install complete

0

I just install the script everything is ok, I installed this app in my online hostings but I removed it and I want to install the new version.But I got this error:”This page isn’t working digital.website is currently unable to handle this request. HTTP ERROR 500 ” HO can I fix that: I get this warning: This page isn’t working mywebsite.com is currently unable to handle this request. HTTP ERROR 500 whenever I want to edit or view the product page I have already created. I have checked all requirements, all of them are OK, also I have checked the documentation question about 500 everything ok Kindly helps me to solve this, please. Thanks
I tried your solution:
Hello,

Please check server requirements from documentation.pdf and make sure your serve met them, specially MySQL only_full_group_by mode. It should be disabled.

Please check your server error logs and let me know the error details so that I can suggest.

You can enable app logs by changing the log_threshold to 1 in app/config/config.php and try to change/delete the cart time again to reproduce error. Last check the latest logs in the app/logs/ folder.
"
But not fixed

Question Resolved For: Stock Manager Advance with All Modules 0 Votes 11 Answers 2.1k Views
Asked by Mehdi boudhir 3 years ago

0

Answered by Mian Saleem 3 years ago

Hello,

Are you copy pasting the question/answer?

Show me the screenshot of server and MySQL mode?

Where is the error details? Let me know so that I can suggest. I won't be able to help without the error details.

Thank you

0

Answered by Mehdi boudhir 3 years ago

all of the features are indeed available
Requirements
➢ PHP 5.6+ (Recommended: PHP7)
➢ PHP Mcrypt Extension
➢ PHP MBString Extension
➢ PHP DOM Extension
➢ PHP GD or GD2 Extension
➢ PHP MYSQLi Extension
➢ PHP CURL Extension
➢ PHP ZIP Extension
➢ MYSQL 5.4+ (only_full_group_by should be disabled)
➢ URL Rewrite Extension
➢ Cronjob (Optional but needed for automated tasks)

https://snipboard.io/huS7lw.jpg
https://snipboard.io/idShc7.jpg
Is there any problem with my IP address?

0

Answered by Mian Saleem 3 years ago

Hello,

You need to check server error logs and let me know the error details so that I can suggest solution.

You can enable app logs by changing the log_threshold to 1 in app/config/config.php and then visit the pages again to produce errors. Lastly check the latest log in app/logs/ directory.

500 are internal server errors and would be due to various reason including bad code, wrong versions and configuration.

Once you have the error details, please let me know so that I can suggest solution.

Installer will be locked and you will need to upload all the files again to reinstall. RE-install won't resolve 500 internal server errors.

Thank you

0

Answered by Mehdi boudhir 3 years ago

Hello,there logs lines:
<?php defined('BASEPATH') OR exit('No direct script access allowed'); ?>

ERROR - 2020-05-29 01:21:07 --> Query error: Table 'bdigsdqb_po.sma_sessions' doesn't exist - Invalid query: SELECT data
FROM sma_sessions
WHERE id = '444e59b043ce1e8874001b7839359dfc96e5d500'
ERROR - 2020-05-29 01:21:07 --> Query error: Table 'bdigsdqb_po.sma_settings' doesn't exist - Invalid query: SELECT *
FROM sma_settings
ERROR - 2020-05-29 01:21:07 --> Severity: error --> Exception: Call to a member function num_rows() on bool /home/bdigsdqb/public_html/posf/app/models/Site.php 285
ERROR - 2020-05-29 01:21:07 --> Query error: Table 'bdigsdqb_po.sma_sessions' doesn't exist - Invalid query: INSERT INTO sma_sessions (id, ip_address, timestamp, data) VALUES ('444e59b043ce1e8874001b7839359dfc96e5d500', '89.211.214.175', 1590715267, '__ci_last_regenerate|i:1590715267;')
ERROR - 2020-05-29 01:21:07 --> Severity: Warning --> session_write_close(): Failed to write session data using user defined save handler. (session.save_path: /opt/alt/php73/var/lib/php/session) Unknown 0
ERROR - 2020-05-29 05:54:02 --> Query error: Table 'bdigsdqb_po.sma_sessions' doesn't exist - Invalid query: SELECT data
FROM sma_sessions
WHERE id = '7b7c8b7165cfe154fcba49e77a7773b59b4fbc5b'
ERROR - 2020-05-29 05:54:02 --> Query error: Table 'bdigsdqb_po.sma_settings' doesn't exist - Invalid query: SELECT *
FROM sma_settings
ERROR - 2020-05-29 05:54:02 --> Severity: error --> Exception: Call to a member function num_rows() on bool /home/bdigsdqb/public_html/posf/app/models/Site.php 285
ERROR - 2020-05-29 05:54:02 --> Query error: Table 'bdigsdqb_po.sma_sessions' doesn't exist - Invalid query: INSERT INTO sma_sessions (id, ip_address, timestamp, data) VALUES ('7b7c8b7165cfe154fcba49e77a7773b59b4fbc5b', '89.211.214.175', 1590731642, '__ci_last_regenerate|i:1590731642;')
ERROR - 2020-05-29 05:54:02 --> Severity: Warning --> session_write_close(): Failed to write session data using user defined save handler. (session.save_path: /opt/alt/php73/var/lib/php/session) Unknown 0
ERROR - 2020-05-29 05:54:04 --> Query error: Table 'bdigsdqb_po.sma_sessions' doesn't exist - Invalid query: SELECT 1
FROM sma_sessions
WHERE id = '7b7c8b7165cfe154fcba49e77a7773b59b4fbc5b'
ERROR - 2020-05-29 05:54:04 --> Query error: Table 'bdigsdqb_po.sma_sessions' doesn't exist - Invalid query: SELECT data
FROM sma_sessions
WHERE id = '7b7c8b7165cfe154fcba49e77a7773b59b4fbc5b'
ERROR - 2020-05-29 05:54:04 --> Query error: Table 'bdigsdqb_po.sma_settings' doesn't exist - Invalid query: SELECT *
FROM sma_settings
ERROR - 2020-05-29 05:54:04 --> Severity: error --> Exception: Call to a member function num_rows() on bool /home/bdigsdqb/public_html/posf/app/models/Site.php 285
ERROR - 2020-05-29 05:54:04 --> Query error: Table 'bdigsdqb_po.sma_sessions' doesn't exist - Invalid query: INSERT INTO sma_sessions (id, ip_address, timestamp, data) VALUES ('7b7c8b7165cfe154fcba49e77a7773b59b4fbc5b', '89.211.214.175', 1590731644, '__ci_last_regenerate|i:1590731644;')
ERROR - 2020-05-29 05:54:04 --> Severity: Warning --> session_write_close(): Failed to write session data using user defined save handler. (session.save_path: /opt/alt/php73/var/lib/php/session) Unknown 0

0

Answered by Mian Saleem 3 years ago

These are session errors. Sessions are saved in database so these might be logged before installation. If these are after install then you need to check your database if the tables are created specially sma_sessions table. You can download the latest file and reinstall too.

If the tables exists, then you can check the database settings in app/config/database.php

0

Answered by Mehdi boudhir 3 years ago

what about this one:
https://snipboard.io/d8O9Rs.jpg

0

Answered by Mehdi boudhir 3 years ago

I checked the database, It is empty ,No data recorded?

0

Answered by Mian Saleem 3 years ago

Please download file now. The install error is already fixed. Thank you

0

Answered by Mehdi boudhir 3 years ago

OK thank you.
But I can't login.
screenshot:
https://snipboard.io/TuwkO4.jpg

0

Answered by Mehdi boudhir 3 years ago

It is ok Now.
"https " problem.
But version appear v3.4.31 not v 3.4.34
thank you

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.