Post by TylerH » Thu Sep 26, 2024 10:53 am

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?

Newbie

Posts

Joined
Fri Jul 23, 2021 6:04 am

Post by nonnedelectari » Thu Sep 26, 2024 6:32 pm

TylerH wrote:
Thu Sep 26, 2024 10:53 am
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?
In several locations "admin" is hardcoded in the php files as well as some javascript files.

New member

Posts

Joined
Thu Mar 04, 2021 6:34 pm

Post by ADD Creative » Thu Sep 26, 2024 8:01 pm

Check both your PHP/server and OpenCart error logs.

www.add-creative.co.uk


Expert Member

Posts

Joined
Sat Jan 14, 2012 1:02 am
Location - United Kingdom

Post by JNeuhoff » Thu Sep 26, 2024 8:02 pm

TylerH wrote:
Thu Sep 26, 2024 10:53 am
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?
Check your server's error log (not the same as the OpenCart error.log !)

Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig


User avatar
Guru Member

Posts

Joined
Wed Dec 05, 2007 3:38 am


Post by grgr » Thu Sep 26, 2024 10:09 pm

All round easier not to move it, just protect it instead.

-
Image Image Image
VIEW ALL EXTENSIONS * EXTENSION SUPPORT * WEBSITE * CUSTOM REQUESTS


User avatar
Active Member

Posts

Joined
Mon Mar 28, 2011 4:08 pm
Location - UK

Post by TylerH » Tue Oct 01, 2024 8:47 am

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}

Newbie

Posts

Joined
Fri Jul 23, 2021 6:04 am

Post by ADD Creative » Tue Oct 01, 2024 4:22 pm

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.

www.add-creative.co.uk


Expert Member

Posts

Joined
Sat Jan 14, 2012 1:02 am
Location - United Kingdom
Who is online

Users browsing this forum: No registered users and 5 guests