New install and wanted to move my /admin folder. When visiting the /admin or now /adm1n link I'm met with a white blank page. The rest of the store is fine so I assume its my /config/config.php file being broken. Here it is: https://pastebin.com/Dt8kMp51
Anyone have some good advice for me?
Anyone have some good advice for me?
In several locations "admin" is hardcoded in the php files as well as some javascript files.TylerH wrote: ↑Thu Sep 26, 2024 10:53 amNew install and wanted to move my /admin folder. When visiting the /admin or now /adm1n link I'm met with a white blank page. The rest of the store is fine so I assume its my /config/config.php file being broken. Here it is: https://pastebin.com/Dt8kMp51
Anyone have some good advice for me?
Check your server's error log (not the same as the OpenCart error.log !)TylerH wrote: ↑Thu Sep 26, 2024 10:53 amNew install and wanted to move my /admin folder. When visiting the /admin or now /adm1n link I'm met with a white blank page. The rest of the store is fine so I assume its my /config/config.php file being broken. Here it is: https://pastebin.com/Dt8kMp51
Anyone have some good advice for me?
Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig
All round easier not to move it, just protect it instead.
-
VIEW ALL EXTENSIONS * EXTENSION SUPPORT * WEBSITE * CUSTOM REQUESTS
Update. Went looking through the logs, found this in my nginx.error.log
thrown in /var/www/opencart/webroot/admin/controller/startup/sass.php on line 17" while reading response header from upstream, client: 192.168.1.250, server: store.domain.org, request: "GET /admin/ HTTP/1.1", upstream: "fastcgi://unix:/run/php/php7.4-fpm.sock:", host: >
2024/09/30 18:43:02 [error] 508#508: *29 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught Error: Call to undefined method ScssPhp\ScssPhp\Compiler::compileString() in /var/www/opencart/webroot/admin/controller/startup/sass.php:17
Stack trace:
#0 /var/www/opencart/webroot/system/engine/action.php(79): ControllerStartupSass->index()
#1 /var/www/opencart/webroot/system/engine/router.php(67): Action->execute()
#2 /var/www/opencart/webroot/system/engine/router.php(46): Router->execute()
#3 /var/www/opencart/webroot/system/framework.php(179): Router->dispatch()
#4 /var/www/opencart/webroot/system/startup.php(104): require_once('/var/www/openca...')
#5 /var/www/opencart/webroot/admin/index.php(19): start()
#6 {main}
thrown in /var/www/opencart/webroot/admin/controller/startup/sass.php on line 17" while reading response header from upstream, client: 192.168.1.250, server: store.domain.org, request: "GET /admin/ HTTP/1.1", upstream: "fastcgi://unix:/run/php/php7.4-fpm.sock:", host: >
2024/09/30 18:43:02 [error] 508#508: *29 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught Error: Call to undefined method ScssPhp\ScssPhp\Compiler::compileString() in /var/www/opencart/webroot/admin/controller/startup/sass.php:17
Stack trace:
#0 /var/www/opencart/webroot/system/engine/action.php(79): ControllerStartupSass->index()
#1 /var/www/opencart/webroot/system/engine/router.php(67): Action->execute()
#2 /var/www/opencart/webroot/system/engine/router.php(46): Router->execute()
#3 /var/www/opencart/webroot/system/framework.php(179): Router->dispatch()
#4 /var/www/opencart/webroot/system/startup.php(104): require_once('/var/www/openca...')
#5 /var/www/opencart/webroot/admin/index.php(19): start()
#6 {main}
That suggests the paths in your admin/config.php are wrong. First it's possibly not finding your .css files so is trying to make new ones. Then it's not finding scssphp in you storage/vendor directory.
Who is online
Users browsing this forum: No registered users and 6 guests