Warning: Smarty error: unable to read resource: "widget/product/list.tpl" in core/smarty/Smarty.class.php on line 1094 - oxid

I just installed a OXID eSHOP COMMUNITY EDITION 4.10.2.
I copy paste my live site code into local server. Everything is working fine, but products not display.
It shows below error.
Warning: Smarty error: unable to read resource: "widget/product/list.tpl" in core/smarty/Smarty.class.php on line 1094
However it's working fine on live site. But not working on my local setup.

Check if template file "widget/product/list.tpl" exists on your machine. Looks like you did not copy all the files from production server.

Related

Imagick extension installation issue xampp

I am trying to install Imagick extension on windows 10 with PHP version 8.0.3 but getting below error
PHP Warning: PHP Startup: Unable to load dynamic library
'php_imagick.dll' (tried: D:\xampp\php\ext\php_imagick.dll (The
specified module could not be found),
D:\xampp\php\ext\php_php_imagick.dll.dll (The specified module could
not be found)) in Unknown on line 0
Windows : 10 X64
PHP version : 8.0.3
Steps to reproduce:
I have added imagick.dll file in xampp\php\ext directory
Added CORE_RL_.dll and IM_MOD_RL_.dll in xampp\php folder.
Added extension=php_imagick.dll in xampp\php\php.ini file
Restarted xammp
Getting below error on webpage
enter image description here
In the PHP error log below error is logged.
PHP Warning: PHP Startup: Unable to load dynamic library 'php_imagick.dll'
First download this: https://windows.php.net/downloads/pecl/releases/imagick/3.7.0/php_imagick-3.7.0-8.0-ts-vs16-x64.zip
Extract from php_imagick-….zip the php_imagick.dll file, and save it to the ext directory of your PHP installation
Extract from php_imagick-….zip all the other DLL files and save them to the PHP root directory (where you have php.exe)
Add this line to your php.ini file:
extension=php_imagick.dll
Restart the Apache/NGINX Windows service (if applicable)

Xdebug Failed loading C:\php\ext\php_xdebug.dll

Issue:
I am getting this error in my Apache log on start up:
Failed loading C:\php\ext\php_xdebug-2.9.2-7.4-vc15-x86_64.dll
Xdebug Wizard:
I used the xdebug wizard, which resulted in these instructions:
Download php_xdebug-2.9.2-7.4-vc15-x86_64.dll
Move the downloaded file to C:\php\ext
Edit C:\php\php.ini C:\WINDOWS\php.ini and add the line
zend_extension = C:\php\ext\php_xdebug-2.9.2-7.4-vc15-x86_64.dll
Restart the webserver
Things I have tried:
Using these variations in php.ini:
zend_extension="C:\php\ext\php_xdebug-2.9.2-7.4-vc15-x86_64.dll"
zend_extension=php_xdebug-2.9.2-7.4-vc15-x86_64.dll
I ensured I was editing correct php.ini file
I checked permissions on dll.
I am using:
Apache/2.4.41 (Win64) VC 15
php-7.4.3-Win32-vc15-x64
php_xdebug-2.9.2-7.4-vc15-x86_64.dll
You're using a release candidate of PHP 7.4.1 (php-7.4.1RC1-Win32-vc15-x64) - you might want to use the latest PHP 7.4.3.
You sometimes get a better error message if you try using PHP's command line.

How to fix " No such file or directory"error when I access to the home page

I downloaded a laravel project from a shared hosting and I want to edit him in my localhost but when I type out the home adress:
localhost:8000/
it shows me those two errors :
Warning: require_once(C:\Users\Rafaa\Downloads\Compressed.idea/public/index.php): failed to open stream: No such file or directory in C:\Users\Rafaa\Downloads\Compressed.idea\server.php on line 21
Fatal error: require_once(): Failed opening required 'C:\Users\Rafaa\Downloads\Compressed.idea/public/index.php' (include_path='C:\xampp\php\PEAR') in C:\Users\Rafaa\Downloads\Compressed.idea\server.php on line 21
When you clone or download a project from somewhere, there may be a case that many dependencies like codes or library files are missing. To solve this
Open the terminal
Go to the directory where the project folder is situated.
RUN composer install
If it still does not work,
RUN composer update
That should do the trick.

Magento error after moving website to another server

I just transferred my website to another server by using this guide: http://www.atwix.com/magento/moving-magento-to-another-server/
but when i access the it gives me this error. What does it means? what do i need to do to make it work?
Warning: include(Zend/Log.php) [function.include]: failed to open stream: No such file or directory in /var/www/site/lib/Varien/Autoload.php on line 93
Warning: include() [function.include]: Failed opening 'Zend/Log.php' for inclusion (include_path='/var/www/site/app/code/local:/var/www/site/app/code/community:/var/www/site/app/code/core:/var/www/site/lib:.:/usr/share/php:/usr/share/pear') in /var/www/site/lib/Varien/Autoload.php on line 93
Fatal error: Class 'Zend_Log' not found in /var/www/site/app/code/core/Mage/Core/functions.php on line 247
As far as i can see, it looks like the file in question can't be found at all. What to do is check the directory /www/work/newshop/lib/Zend and make sure the log file is within there. If not, double check your previous server and see if it's there as well. It's possible for you to have just missed it.
If it IS there, make sure permissions are set accordingly. eg; the log.php file should have it's permissions set to 644. (Read and Write for owner, Read for group and read for public)
did you remove the cache folder from Magento After moved your installation?
And wich PHP Version ist installed on the new Server?
Magento have already problem with php5.4 and php5.5 (reference: https://bugs.php.net/bug.php?id=62639)

Failed opening required 'Smarty_Internal_TemplateCompilerBase.php'

I'm using smarty version 3.1.13;
My project works perfectly on the local server;
When I put my site on the server (www.1and1.com) appears the following error:
Fatal error: require_once():
Failed opening required 'Smarty_Internal_TemplateCompilerBase.php'
(include_path='/homepages/39/d441258317/htdocs/mtx/application:/
homepages/39/d441258317/htdocs/mtx/application/controllers:
/homepages/39/d441258317/htdocs/mtx/application/models:
/homepages/39/d441258317/htdocs/mtx/application/../library:
/homepages/39/d441258317/htdocs/mtx/application/../library/Smarty
/sysplugins:/homepages/39/d441258317/htdocs/mtx/application/../library
/Smarty/plugins:.:/usr/lib/php6') in /homepages/39/d441258317/htdocs/
mtx/index.php on line 28
I changed the permissions of the folder compile_c but nothing, still get an error
Appreciate your help
looks like a big problem but was not. When i created my folder in local server did i put "public" folder with "P" upercase. Because i have a linux server and linux it's case sensitive it not works. Just rename the folder from "Public" to "public" and it done!

Resources