Post by Joe1234 » Wed Mar 20, 2024 3:12 pm

I have a working site and made a copy to put in a sub directory to work on as a beta site. I changed all the config settings. When I go to the admin I get the following error:

Code: Select all

[20-Mar-2024 02:02:55 America/New_York] PHP Fatal error:  Uncaught Error: Call to undefined method ScssPhp\ScssPhp\Compiler::compileString() in .../admin/controller/startup/sass.php:17
Stack trace:
#0 .../storage/modification/system/engine/action.php(79): ControllerStartupSass->index()
#1 .../storage/modification/system/engine/router.php(77): Action->execute(Object(Registry))
#2 .../storage/modification/system/engine/router.php(46): Router->execute(Object(Action))
#3 .../system/framework.php(169): Router->dispatch(Object(Action), Object(Action))
#4 .../system/startup.php(104): require_once('/home/path/...')
#5 .../admin/index.php(19): start('admin')
#6 {main}
  thrown in ..../admin/controller/startup/sass.php on line 17
How do I fix this?
Last edited by Joe1234 on Thu Mar 21, 2024 1:38 am, edited 1 time in total.

v3.0.4.0 php 8.1
I'm here for a reason, if your response is contact a/the developer, just don't reply.


Active Member

Posts

Joined
Sat Jan 01, 2022 5:47 am

Post by paulfeakins » Wed Mar 20, 2024 8:37 pm

Joe1234 wrote:
Wed Mar 20, 2024 3:12 pm
made a copy to put in a sub directory
...
How do I fix this?
Use a sub-domain NOT a sub-directory.

UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk


User avatar
Legendary Member
Online

Posts

Joined
Mon Aug 22, 2011 11:01 pm
Location - London Gatwick, United Kingdom

Post by Joe1234 » Thu Mar 21, 2024 1:37 am

Nope, this is the solution...for the most part
viewtopic.php?t=232366&hilit=ScssPhp
...but then I had to copy back a few of the original storage directories afterwards because of a different error that popped up once I logged in. I think the session directory is what cleared up the second error I was getting.

v3.0.4.0 php 8.1
I'm here for a reason, if your response is contact a/the developer, just don't reply.


Active Member

Posts

Joined
Sat Jan 01, 2022 5:47 am
Who is online

Users browsing this forum: Bing [Bot] and 18 guests