Fatal error when upload files

Merchant
Från Slovenia
Medlem sedan okt. 2023

Hi,

when I want to upload files, I get this error:

Fatal error: Uncaught Error: Class "database" not found in /tmp/phpwTNR9N:3 Stack trace: #0 /home/megamisk/public_html/includes/library/lib_vmod.inc.php(339): include() #1 /home/megamisk/public_html/includes/library/lib_vmod.inc.php(340): vmod::{closure}() #2 /home/megamisk/public_html/includes/library/lib_vmod.inc.php(107): vmod::load() #3 /home/megamisk/public_html/includes/app_header.inc.php(20): vmod::init() #4 /home/megamisk/public_html/admin123/index.php(2): require_once('/home/megamisk/...') #5 {main} thrown in /tmp/phpwTNR9N on line 3

Error disappear when I remove vMod file.

tim
Founder
Från Sweden
Medlem sedan maj 2013
tim

What version of LiteCart?

Merchant
Från Slovenia
Medlem sedan okt. 2023

LiteCart® 2.5.4

tim
Founder
Från Sweden
Medlem sedan maj 2013
tim

Ok, yeah this was for 2.6.x. What you can do is remove the install and uninstall parts from the vMod and run the install query manually with phpmyadmin.

Merchant
Från Slovenia
Medlem sedan okt. 2023

Hmm and how can I do this?

tim
Founder
Från Sweden
Medlem sedan maj 2013
tim

Admin -> vMods -> Edit vMod.
Remove the install and uninstall directives.

cPanel -> phpMyAdmin -> SQL and run your install queries there (without php document::query).

See the previous version for README.

Merchant
Från Slovenia
Medlem sedan okt. 2023

Perfect, thanks. Done.

As I see plugin is updated, but there is no feautured products page yet, right?

There is just dropdown to pick products? Can't add by SKU?

Du
Denna webbplats använder inga kakor och ingen spårningsteknik från tredje part . Vi tror att vi kan göra det bättre än andra och tänker verkligen på din integritet.