I have to migrate my prestashop 1.7 to another sever because the OVH crash.
but i have blank page in back and front office.
No error display with debug mode.
PHP version : 7.1 (apache server with plesk)
any idea ?
warning :
mod_fcgid: stderr: PHP Warning: include(): Failed opening '/var/www/vhosts/xxxxx.be/httpdocs/vendor/composer/../psr/log/Psr/Log/LogLevel.php' for inclusion (include_path='/var/www/vhosts/xxxxx.be/httpdocs/tools/htmlpurifier/standalone:/var/www/vhosts/xxxxx.be/httpdocs/vendor/pear/pear_exception:/var/www/vhosts/xxxxx.be/httpdocs/vendor/pear/console_getopt:/var/www/vhosts/xxxxx.be/httpdocs/vendor/pear/pear-core-minimal/src:/var/www/vhosts/xxxxx.be/httpdocs/vendor/pear/archive_tar:.:/opt/plesk/php/7.1/share/pear') in /var/www/vhosts/xxxxx.be/httpdocs/vendor/composer/ClassLoader.php on line 444
mod_fcgid: stderr: PHP Fatal error: Class 'Psr\Log\LogLevel' not found in /var/www/vhosts/xxxxx.be/httpdocs/vendor/symfony/symfony/src/Symfony/Component/Debug/Debug.php on line 56
mod_fcgid: stderr: PHP Warning: include(/var/www/vhosts/xxxxx.be/httpdocs/vendor/composer/../psr/log/Psr/Log/LogLevel.php): failed to open stream: No such file or directory in /var/www/vhosts/xxxxx.be/httpdocs/vendor/composer/ClassLoader.php on line 444
What version of Prestashop ?
The error is clear, a core Prestashop file is missing :
/vendor/psr/log/Psr/Log/LogLevel.php
You have to restore it by taking it from the ZIP of the same version.
My two cents: you are restoring on a backup where "log*" was excluded and this caused the files containing the word log not to be backed up... so check that everything else is intact!
Related
I am trying to apply the following patch on below version of WebLogic-
WebLogic Server 12.2.1.1 - Patch 26519400
Opatch version - 13.9
I am getting the below error:
OPatch detects the Middleware Home as "D:\iAS_12c"
Verifying environment and performing prerequisite checks...
Prerequisite check "CheckActiveFilesAndExecutables" failed.
The details are:
Following files are active :
UtilSession failed: Prerequisite check "CheckActiveFilesAndExecutables" failed.
Log file location: D:\iAS_12c\cfgtoollogs\opatch\opatch2022-11-18_14-42-41PM_1.l
og
OPatch failed with error code = 73
I am trying to apply a patch for vulnerabilities.
We tried to install Watermark default module (from github) on Prestashop 1.6.1.23. After trying to install we have some fatal error:
[PrestaShop] Fatal error in module file... ...watermark.php
Call to undefined method Watermark::trans()
How can we resolve this problem?
Module is default, theme default also. PHP version is 7.
Best regards
Trying the give the details of snowfalke in dbt profiles.yml file . but as soon as when ran the command i,e
$atom /home/myname/.dbt/profiles.yml gives below error:
/usr/bin/atom: line 190: 1705 Trace/breakpoint trap (core dumped) nohup "$ATOM_PATH" --executed-from="$(pwd)" --pid=$$ "$#" > "$ATOM_HOME/nohup.out" 2>&1
Failed to move to new namespace: PID namespaces supported, Network namespace supported, but failed: errno = Permission denied
Following things i tried: Ran below commands but still no luck:
1)
$google-chrome --no-gpu --no-sandbox --disable-setuid-sandbox --headless --dump-dom http://www.chromestatus.com
Error:
[0627/161930.251811:ERROR:udev_watcher.cc(61)] Failed to enable receiving udev events.
[0627/161932.565713:ERROR:platform_shared_memory_region_posix.cc(46)] Descriptor access mode (0) differs from expected (2)
[0627/161932.566251:WARNING:crash_handler_host_linux.cc(366)] Could not translate tid - assuming crashing thread is thread group leader; syscall_supported=0
[0627/161932.769040:WARNING:crash_handler_host_linux.cc(366)] Could not translate tid - assuming crashing thread is thread group leader; syscall_supported=0
--2020-06-27 16:19:32-- https://clients2.google.com/cr/report
Resolving clients2.google.com (clients2.google.com)... 2404:6800:4009:805::200e, 172.217.174.238
Connecting to clients2.google.com (clients2.google.com)|2404:6800:4009:805::200e|:443... [0627/161933.036124:ERROR:headless_shell.cc(399)] Abnormal renderer termination.
connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/plain]
Saving to: ‘/dev/fd/4’
0K
Crash dump id: e870824b56e91b9f
$ google-chrome
Error:
Failed to move to new namespace: PID namespaces supported, Network namespace supported, but failed: errno = Permission denied
Trace/breakpoint trap (core dumped)
[1772:1772:0100/000000.825375:ERROR:zygote_linux.cc(653)] write: Broken pipe (32)
[0627/162152.831614:ERROR:nacl_helper_linux.cc(308)] NaCl helper process running without a sandbox!
Most likely you need to configure your SUID sandbox correctly
Could any one advise on the above issue.
This could be an atom error. Could be packages or something that they installed. I could be wrong, but I don’t see anything in that error message that indicates it’s a profiles.yml thing. I wonder if they can open other files in atom just fine?
Alternatively, use a text editor that isn’t based on chrome
Thanks #jake and #Christine from FishTown Analytics.
Here are a few helpful links.
Atom issue;
Blogpost!
I have compiled an fastcgid example program along-with libfcgid files using visual studio 10 compiler. The exe file works correctly. But when I try to open the exe file using a browser through apache server, after much delay the following is displayed in the browser.
Service Temporarily Unavailable
The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.
The apache log file contains the following errors:
[error] (OS 2)The system cannot find the file specified. : mod_fcgid: can't run C:/Program
[warn] (OS 2)The system cannot find the file specified. : mod_fcgid: spawn process C:/Program Files/Apache Software Foundation/Apache2.2/htdocs/test/fcgitest.exe error
[warn] [client 127.0.0.1] mod_fcgid: can't apply process slot for C:/Program Files/Apache Software Foundation/Apache2.2/htdocs/test/fcgitest.exe
I have noticed the error occurs when I include the following line in httpd.conf
SetHandler fcgid-script
Can anyone help me solve this issue? Thanks in advance.
Initially, I installed apache in path 'C:program files'. It has a space character in path. It was the reason for this error. So I uninstalled apache and re-installed in c drive so that the installation folder is C:apache2.2. This solved the error.
I got this error message when updating to IP 4.2.6:
Warning: require_once(Ip/script/run.php) [function.require-once]:
failed to open stream:
No such file or directory in /home/stenly/public_html/index.php on line 14
Fatal error: require_once() [function.require]:
Failed opening required 'Ip/script/run.php' (include_path='.:/usr/lib/php:/usr/local/lib/php')
in /home/stenly/public_html/index.php on line 14
What could have gone wrong and is there a solution to this as the website is an active and busy website?
I don't know how that could happen. But try to take Ip/script/run.php from downloaded archive (http://download.impresspages.org/ImpressPages_4_2_6.zip) and palce it on your server.