Cron job error outputting failed loading of ioncube loader - magento

I recently moved from php 4 to 5. I had my server people look and ioncube loader is installed properly. I'm at a loss of what this is and what to actually do. I have magento 1.9 so I have the cron job set up every minute to output the sales emails (like I read in other places)
Thanks for your help.
Failed loading /usr/local/IonCube/ioncube_loader_lin_5.4.so: /usr/local/IonCube/ioncube_loader_lin_5.4.so: undefined symbol: execute
Zend Guard Loader requires Zend Engine API version 220100525.
The Zend Engine API version 220121212 which is installed, is newer.
Contact Zend Technologies at http://www.zend.com/ for a later version of Zend Guard Loader.
X-Powered-By: PHP/5.5.21
Content-type: text/html
<b>Fatal error</b>: Uncaught exception 'Zend_Db_Adapter_Exception' with message 'The PDO extension is required for this adapter but the extension is not loaded' in /home/xxx/public_html/lib/Zend/Db/Adapter/Pdo/Abstract.php:342
Stack trace:
#0 /home/xxx/public_html/lib/Zend/Db/Adapter/Abstract.php(248): Zend_Db_Adapter_Pdo_Abstract->setFetchMode(2)
#1 /home/xxx/public_html/app/code/core/Mage/Core/Model/Resource.php(175): Zend_Db_Adapter_Abstract->__construct(Array)
#2 /home/xxx/public_html/app/code/core/Mage/Core/Model/Resource.php(110): Mage_Core_Model_Resource->_newConnection('pdo_mysql', Object(Mage_Core_Model_Config_Element))
#3 /home/xxx/public_html/app/code/core/Mage/Core/Model/Resource/Db/Abstract.php(320): Mage_Core_Model_Resource->getConnection('core_write')
#4 /home/xxxy/public_html/app/code/core/Mage/Core/Model/Resource/Db/Abstract.php(350): Mage_Core_Model_Resource_Db_Abstract->_getConnection('write')
#5 /home/xxx/public_html/app/code/core/Mage/Core/ in <b>/home/xxx/public_html/lib/Zend/Db/Adapter/Pdo/Abstract.php</b> on line <b>342</b><br />

You installed the ionCube Loaders for PHP 5.4 (as indicated by the filename), yet you have PHP 5.5 installed (X-Powered-By: PHP/5.5.21).
You can download the appropriate ionCube Loaders from here, or use the Loader Wizard available here (zip, tgz) to help with the installation; in any case you'll have to remove the zend_extension = <path to the outdated loaders/> line from your php.ini and restart your PHP/Apache process to remove the outdated Loader extension.

Related

Fatal error: Uncaught Error: Call to undefined function wp_unregister_GLOBALS() when upgrading to 5.5

I have WordPress running on Windows 10 with IIS.
While upgrading WordPress to 5.5 this morning I received the following error:
PHP Fatal error: Uncaught Error: Call to undefined function wp_unregister_GLOBALS() in C:\inetpub\wwwroot\wordpress\wp-settings.php:70 Stack trace: #0 C:\inetpub\wwwroot\wordpress\wp-config.php(92): require_once() #1 C:\inetpub\wwwroot\wordpress\wp-load.php(37): require_once('C:\inetpub\wwwr...') #2 C:\inetpub\wwwroot\wordpress\wp-admin\admin.php(34): require_once('C:\inetpub\wwwr...') #3 C:\inetpub\wwwroot\wordpress\wp-admin\index.php(10): require_once('C:\inetpub\wwwr...') #4 {main} thrown in C:\inetpub\wwwroot\wordpress\wp-settings.php on line 70
This was a very easy fix. Since my installation was local I just copied all the files and directories located in the WordPress 5.5 upgrade folder (in my case it was C:\inetpub\wwwroot\wordpress\wp-content\upgrade\wordpress-5.5-no-content-cIBdh3\wordpress) to the root of the site (in my case C:\inetpub\wwwroot\wordpress) overwriting the file already there.
Very simple fix. I guess the installation hit something while it was copying or timedout, who knows. I'm sure you can do the same thing by FTPing to your site if you are hosting your site remotely.
i am updating to 5.5 in my hostiing and i got this problem, the solution is You should upload all and folder file update except wp-content but it depends

instance of ParseError given in /var/www/html/myanants/lib/Cake/Error/ErrorHandler.php

After I did first upload cakephp project to server ,this fetal error occurrs.
Fatal Error
Error: Uncaught TypeError: Argument 1 passed to
ErrorHandler::handleException() must be an instance of Exception,
instance of ParseError given in
/var/www/html/myanants/lib/Cake/Error/ErrorHandler.php:116 Stack
trace: #0 [internal function]:
ErrorHandler::handleException(Object(ParseError)) #1 {main} thrown
File: /var/www/html/myanants/lib/Cake/Error/ErrorHandler.php Line:
116
Notice: If you want to customize this error message, create
app/View/Errors/fatal_error.ctp
You are running a non-PHP7 compatible CakePHP 2 version on a PHP7 system - that won't work. Upgrade your CakePHP dependency to at least CakePHP 2.8.x.
2.8 Migration Guide
CakePHP 2.8 is a fully API compatible upgrade from 2.7. This page
outlines the changes and improvements made in 2.8.
PHP7 Compatibility
CakePHP 2.8 is compatible with, and tested against PHP7.
[...]
https://book.cakephp.org/2.0/en/appendices/2-8-migration-guide.html

Fatal error: Uncaught Error: Class 'String' not found in C:\xampp\htdocs\myproject\lib\Cake\Utility\Debugger.php:340

I have upgraded my XAMPP to "ApacheFriends XAMPP Version 7.0.15" and now the error below keeps appearing. I have configured the Virtual Host under http.conf for Apache as it is not existing anymore but still it produces same error. Not sure if this error cause by the latest version of XAMPP or if I miss something to configure. Appreciate any answers and help. Thank you.
Fatal error: Uncaught Error: Class 'String' not found in
C:\xampp\htdocs\myproject\lib\Cake\Utility\Debugger.php:340 Stack
trace: #0
C:\xampp\htdocs\myproject\lib\Cake\Utility\Debugger.php(742):
Debugger::trace(Array) #1
C:\xampp\htdocs\myproject\lib\Cake\Error\ErrorHandler.php(219):
Debugger->outputError(Array) #2 [internal function]:
ErrorHandler::handleError(2, 'srand() expects...',
'C:\xampp\htdocs...', 190, Array) #3
C:\xampp\htdocs\myproject\lib\Cake\Utility\Security.php(190):
srand('768593096574535...') #4
C:\xampp\htdocs\myproject\lib\Cake\Controller\Component\CookieComponent.php(530):
Security::cipher('\xFA\xC1\xA1\x1C\xAE)6\xD5\xA2\xD3\x15rk\x14m...',
'DYhG93b0qyJfIxf...') #5
C:\xampp\htdocs\myproject\lib\Cake\Controller\Component\CookieComponent.php(507):
CookieComponent->_decode('\xFA\xC1\xA1\x1C\xAE)6\xD5\xA2\xD3\x15rk\x14m...')
6 C:\xampp\htdocs\myproject\lib\Cake\Controller\Component\CookieComponent.php(270):
CookieComponent->_decrypt(Array) #7
C:\xampp\htdocs\myproject\app\Controller\AppController.php(171):
CookieComponent->read('remember_me_ in
C:\xampp\htdocs\myproject\lib\Cake\Utility\Debugger.php on line 340
Deprecated since version 2.7: The String class was deprecated in 2.7 in favour of the CakeText class. While the String class is still available for backwards compatibility, using CakeText is recommended as it offers compatibility with PHP7 and HHVM.
String class is deprecated in CakePHP, use CakeText instead
An example of usage :
App::uses('CakeText', 'Utility');
CakeText::toList(array('A','B','C')) // outputs 'A, B and C'
I have installed the most recent version of XAMPP that support Php 5 as my CakePhp version isn't compatible with the PhP 7 and this resolves the issue and manage to work on the latest Laravel as well.

Drupal 7.x is crashing the server by httpd requests

Everytime the cache is cleared using the backend tools, or any module is being enabled, an HTTPD requests is killing the server by overloading it by hundred,
httpd request
load average
once this happens only Forceful Reboot for the server would fix it,
could anyone show me the way how to see which link is being called, and how to track the issue?
No weird modules are installed just the usual, which are: CHAOS TOOLS, INPUT VALIDATION, SEO, ADMINISTRATION MENU, etc.
Server is CENTOS 6.8 x86_64 standard , PHP 5.3, MySQL DB, DRUPAL 7.50, All modules are latest updated,
error logged in apache error log is :
PHP Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[HY000]: General error: 2006 MySQL server has gone away' in /home/xxxxx/public_html/includes/database/database.inc:2204\nStack trace:\n#0 /home/xxxxx/public_html/includes/database/database.inc(2204): PDOStatement->execute(Array)\n#1 /home/xxxxx/public_html/includes/database/database.inc(683): DatabaseStatementBase->execute(Array, Array)\n#2 /home/xxxxx/public_html/includes/database/database.inc(2383): DatabaseConnection->query('SELECT expire, ...', Array, Array)\n#3 /home/xxxxx/public_html/includes/lock.inc(167): db_query('SELECT expire, ...', Array)\n#4 /home/xxxxx/public_html/includes/lock.inc(146): lock_may_be_available('theme_registry:...')\n#5 /home/xxxxx/public_html/includes/theme.inc(449): lock_acquire('theme_registry:...')\n#6 /home/xxxxx/public_html/includes/bootstrap.inc(455): ThemeRegistry->set(Array)\n#7 [internal function]: DrupalCacheArray->__destruct()\n#8 {main}\n thrown in /home/xxxxx/public_html/includes/database/database.inc on line 2204, referer: http: //m.facebook.com/

Error while hosting CodeIgniter Framework to online server

I need to solve the below issue:
When I tried to hosting codeIgniter framework to my online server, this error occurred.
A PHP Error was encountered
Severity: Warning
Message: Cannot modify header information - headers already sent by (output started at /home/lviscomp/public_html/system/core/Output.php:528)
Filename: core/Common.php
Line Number: 573
Backtrace:
A PHP Error was encountered
Severity: Error
Message: XCache: Cannot init
Filename: Unknown
Line Number: 0
Backtrace:
I had the same xcache issue in my Laravel application. I resolved it by upgrading the PHP version.
I think this might help you as well.
Go to your cPanel
Go to software section and click "select PHP version"
Change your PHP version from "native" to 5.4 or 5.5 (It will give you a list of drivers with checkboxes)
Select Xcache and enable it
Save your settings as well as PHP version
I hope it will work.
For Above Error header information already sent...
Click here!
XCache: Cannot init
Try Disable XCACHE from the Php configuration..
if this doesn't work ..
I think this is a question for your host.

Resources