Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; WP_MatchesMapRegex has a deprecated constructor in /var/www/phpcoban.com/public_html/wp-includes/class-wp.php on line 632

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Translation_Entry has a deprecated constructor in /var/www/phpcoban.com/public_html/wp-includes/pomo/entry.php on line 14

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; POMO_Reader has a deprecated constructor in /var/www/phpcoban.com/public_html/wp-includes/pomo/streams.php on line 12

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; POMO_FileReader has a deprecated constructor in /var/www/phpcoban.com/public_html/wp-includes/pomo/streams.php on line 120

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; POMO_StringReader has a deprecated constructor in /var/www/phpcoban.com/public_html/wp-includes/pomo/streams.php on line 175

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; POMO_CachedFileReader has a deprecated constructor in /var/www/phpcoban.com/public_html/wp-includes/pomo/streams.php on line 221

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; POMO_CachedIntFileReader has a deprecated constructor in /var/www/phpcoban.com/public_html/wp-includes/pomo/streams.php on line 236

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; WP_Widget_Factory has a deprecated constructor in /var/www/phpcoban.com/public_html/wp-includes/widgets.php on line 544

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; EzAdSense has a deprecated constructor in /var/www/phpcoban.com/public_html/wp-content/plugins/easy-adsense-lite/easy-adsense-lite.php on line 38

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; EzAdsWidget has a deprecated constructor in /var/www/phpcoban.com/public_html/wp-content/plugins/easy-adsense-lite/easy-adsense-lite.php on line 941

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; EzAdsSearch has a deprecated constructor in /var/www/phpcoban.com/public_html/wp-content/plugins/easy-adsense-lite/easy-adsense-lite.php on line 1003

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; EzAdsLU has a deprecated constructor in /var/www/phpcoban.com/public_html/wp-content/plugins/easy-adsense-lite/easy-adsense-lite.php on line 1078

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; EzBaseOption has a deprecated constructor in /var/www/phpcoban.com/public_html/wp-content/plugins/easy-adsense-lite/EzOptions.php on line 22

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; EzCheckBox has a deprecated constructor in /var/www/phpcoban.com/public_html/wp-content/plugins/easy-adsense-lite/EzOptions.php on line 174

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; EzRadioBox has a deprecated constructor in /var/www/phpcoban.com/public_html/wp-content/plugins/easy-adsense-lite/EzOptions.php on line 199

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; EzSelect has a deprecated constructor in /var/www/phpcoban.com/public_html/wp-content/plugins/easy-adsense-lite/EzOptions.php on line 250

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; EzMessage has a deprecated constructor in /var/www/phpcoban.com/public_html/wp-content/plugins/easy-adsense-lite/EzOptions.php on line 294

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; EzHelpTag has a deprecated constructor in /var/www/phpcoban.com/public_html/wp-content/plugins/easy-adsense-lite/EzOptions.php on line 313

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; EzHelpPopUp has a deprecated constructor in /var/www/phpcoban.com/public_html/wp-content/plugins/easy-adsense-lite/EzOptions.php on line 328

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; EzTextArea has a deprecated constructor in /var/www/phpcoban.com/public_html/wp-content/plugins/easy-adsense-lite/EzOptions.php on line 346

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; EzText has a deprecated constructor in /var/www/phpcoban.com/public_html/wp-content/plugins/easy-adsense-lite/EzOptions.php on line 366

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; EzSubmit has a deprecated constructor in /var/www/phpcoban.com/public_html/wp-content/plugins/easy-adsense-lite/EzOptions.php on line 385

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; EzColorPicker has a deprecated constructor in /var/www/phpcoban.com/public_html/wp-content/plugins/easy-adsense-lite/EzOptions.php on line 409

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; EzOneTab has a deprecated constructor in /var/www/phpcoban.com/public_html/wp-content/plugins/easy-adsense-lite/EzOptions.php on line 432

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; EzMiniTab has a deprecated constructor in /var/www/phpcoban.com/public_html/wp-content/plugins/easy-adsense-lite/EzOptions.php on line 476
ionCube

Fatal error: [ionCube Loader] The Loader must appear as the first entry in the php.ini file in Unknown on line 0

gap loi PHP Fatal error:  [ionCube Loader] The Loader must appear as the first entry in the php.ini file in Unknown on line 0

1 vài thư viện open source cần những thư viện khác để chạy được lỗi thiếu thứ thư viện như sau rất hay gặp

Site error: the file E:\xampp2\htdocs\myproject\magento\www.hasbys.com\app\code\local\AdolMedia\AM\Helper\Data.php requires the ionCube PHP Loader ioncube_loader_win_5.5.dll to be installed by the website operator. If you are the website operator please use the ionCube Loader Wizard to assist with installation.

 

Khi gặp thì ta làm gì : đây là 1 bài viết mình đã làm theo và thành công các bạn có thể thử

 

1.  Download ionCube Loader zip or exe installer from the ionCube website:  http://www.ioncube.com/loaders.php  To get the correct ionCube Loader download you will need to look at your PHP Server phpinfo() information (see Example XAMPP Phpinfo information below).  Download the appropriate zip/exe file installer based on your phpinfo Compiler and Thread safety information that you will find in phpinfo.

Note:  Thread Safety enabled means thread-safe.  Thread Safety disabled means Non-TS/non thread-safe.

Note:  To create a phpinfo file to view your phpinfo.  Create a php file called phpinfo.php and add the PHP phpinfo(); function in that file and open the file in your Browser.  Example:  http://localhost/phpinfo.php.

2.  Install/unzip the ioncube loader to \xampp\php (or whatever xampp directory/folder name you have created).  You should end up with this folder \xampp\php\ioncube\ after installing the exe or if you want you can just unzip the files and then manually create this folder and copy all the files into this folder.

3.  Edit your php.ini file here – \php\php.ini (or if you have your php.ini file in another location then edit that php.ini file). Add this zend_extension directive shown below in your php.ini file and stop and restart your Apache Server.

Important Note:  This zend_extension directive above MUST come before any other zend_extension directives in your php.ini file. At the time this tutorial was created (3-20-2013) the correct ioncube_loader extension for XAMPP is the one shown below. XAMPP is using PHP5.4.x in the version that is currently installed on my system.  The ionCube Loader version should match your PHP Server version.  5.4 => 5.4

Troubleshooting Note:  If you run into problems. Copy the \xampp\php\ioncube\loader-wizard.php file to the root of any of your XAMPP websites.

Example XAMPP websites:  localhost/loader-wizard.php, example.local/loader-wizard.php, example.dev/loader-wizard.php and launch this file in your Browser.  Example:  http://localhost/loader-wizard.php.  This will start the ionCube Loader troubleshooting wizard, which will tell you exactly what is wrong.

 

Cụ thể : chạy phpinfo()

– tìm kiếm từ khoá Compiler

– tìm kiếm từ khoá Thread safety

-> dựa vào 2 thông tin trên tìm đúng thư viện ở trang chủ ionCube;

-download giải nén để vào thư mục xampp/php

– sửa file php.ini thêm dòng sau vào cuối

Chú ý chỉ có 1 dòng zend_extension trong file php.ini

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">