PHP producing loads of temporary files - php

My host provider (Bluehost) has disabled all my sites because of an error related to Piwigo or one of it's plugins. This is their email response:
Your account is deactivated because it is filling the servers hard
disks with temporary files. You need to check over your entire account
and make sure that you are A. Removing any temporary files that are
being created. B. You have disabled you scripts from creating files in
the /var/tmp directory.
The example they gave me was:
-rw------- 1 searchtheearth searchtheearth 106M Feb 16 09:49 magick-muzpwYvI
Bluehost took me down before I could continue to see anything.
I tried to deal with tech support but they insist it is not their job to troubleshoot
the scripts that they provide (Piwigo) and have not yet re-enabled my sites.
I told them I can not properly troubleshoot the site if it is not able to be accessed
and they said I can look at all my files and find the problem and only then once I
can attest that there is no problem will they enable my account.
Frankly I am just looking for what causes the error
thrown in /public_html/searchtheearth/admin/include/image.class.php on line 460
[16-Feb-2014 12:21:42 America/Denver] PHP Fatal error: Uncaught exception 'ImagickException' with message 'unable to extend cache
and
PHP Warning: exif_read_data(20140211154425- be740e47.jpg): Incorrect APP1 Exif Identifier Code in /public_html/searchtheearth/admin/include/image.class.php on line 244
So I have placed the error log below and anyone have any ideas as to what would be putting files in the /var/tmp directory and causing the errors below?
My error log is below for the server:
/public_html/searchtheearth/admin/include/uploadify/error_log:
[11-Feb-2014 15:44:25 America/Denver] PHP Warning: exif_read_data(20140211154425- be740e47.jpg): Incorrect APP1 Exif Identifier Code in /public_html/searchtheearth/admin/include/image.class.php on line 244
[13-Feb-2014 11:37:42 America/Denver] PHP Warning: exif_read_data(20140213113742-b6fb09db.jpg): Incorrect APP1 Exif Identifier Code in /public_html/searchtheearth/admin/include/image.class.php on line 244
[14-Feb-2014 16:53:08 America/Denver] PHP Warning: exif_read_data(20140214165308-6d0d3b81.jpg): Process tag(x0202=JPEGInterch): Illegal format code 0x4B78, suppose BYTE in /public_html/searchtheearth/admin/include/image.class.php on line 244
[14-Feb-2014 16:53:10 America/Denver] PHP Warning: exif_read_data(20140214165310-8d9c63a0.jpg): Process tag(x0202=JPEGInterch): Illegal format code 0x6170, suppose BYTE in /public_html/searchtheearth/admin/include/image.class.php on line 244
[14-Feb-2014 16:53:11 America/Denver] PHP Warning: exif_read_data(20140214165311-bfedab06.jpg): Process tag(x0202=JPEGInterch): Illegal format code 0x693D, suppose BYTE in /public_html/searchtheearth/admin/include/image.class.php on line 244
[14-Feb-2014 16:53:12 America/Denver] PHP Warning: exif_read_data(20140214165312-03fcfcf9.jpg): Process tag(x0202=JPEGInterch): Illegal format code 0x632E, suppose BYTE in /public_html/searchtheearth/admin/include/image.class.php on line 244
[14-Feb-2014 16:53:13 America/Denver] PHP Warning: exif_read_data(20140214165313-85188689.jpg): Process tag(x0202=JPEGInterch): Illegal format code 0x57E3, suppose BYTE in /public_html/searchtheearth/admin/include/image.class.php on line 244
[14-Feb-2014 16:53:14 America/Denver] PHP Warning: exif_read_data(20140214165314-6b4e44f0.jpg): Process tag(x0202=JPEGInterch): Illegal format code 0x5328, suppose BYTE in /public_html/searchtheearth/admin/include/image.class.php on line 244
[14-Feb-2014 16:53:16 America/Denver] PHP Warning: exif_read_data(20140214165316-c465919f.jpg): Process tag(x0202=JPEGInterch): Illegal format code 0x3E9E, suppose BYTE in /public_html/searchtheearth/admin/include/image.class.php on line 244
[14-Feb-2014 16:53:17 America/Denver] PHP Warning: exif_read_data(20140214165317-50abf12c.jpg): Process tag(x0202=JPEGInterch): Illegal format code 0x416D, suppose BYTE in /public_html/searchtheearth/admin/include/image.class.php on line 244
[14-Feb-2014 16:53:19 America/Denver] PHP Warning: exif_read_data(20140214165319-ebf0f884.jpg): Process tag(x0202=JPEGInterch): Illegal format code 0x754E, suppose BYTE in /public_html/searchtheearth/admin/include/image.class.php on line 244
[14-Feb-2014 16:53:20 America/Denver] PHP Warning: exif_read_data(20140214165320-3a023621.jpg): Process tag(x0202=JPEGInterch): Illegal format code 0x7B9D, suppose BYTE in /public_html/searchtheearth/admin/include/image.class.php on line 244
[14-Feb-2014 16:53:22 America/Denver] PHP Warning: exif_read_data(20140214165322-834b0071.jpg): Process tag(x0202=JPEGInterch): Illegal format code 0x789E, suppose BYTE in /public_html/searchtheearth/admin/include/image.class.php on line 244
[14-Feb-2014 16:53:23 America/Denver] PHP Warning: exif_read_data(20140214165323-1fd8c75c.jpg): Process tag(x0202=JPEGInterch): Illegal format code 0x4517, suppose BYTE in /public_html/searchtheearth/admin/include/image.class.php on line 244
[14-Feb-2014 16:53:24 America/Denver] PHP Warning: exif_read_data(20140214165324-477282ab.jpg): Process tag(x0202=JPEGInterch): Illegal format code 0x7168, suppose BYTE in /public_html/searchtheearth/admin/include/image.class.php on line 244
[14-Feb-2014 16:53:26 America/Denver] PHP Warning: exif_read_data(20140214165326-fd61f0e5.jpg): Process tag(x0202=JPEGInterch): Illegal format code 0x5E68, suppose BYTE in /public_html/searchtheearth/admin/include/image.class.php on line 244
[14-Feb-2014 16:53:27 America/Denver] PHP Warning: exif_read_data(20140214165327-e4c0b6e3.jpg): Process tag(x0202=JPEGInterch): Illegal format code 0x6D32, suppose BYTE in /public_html/searchtheearth/admin/include/image.class.php on line 244
[14-Feb-2014 16:53:28 America/Denver] PHP Warning: exif_read_data(20140214165328-5d93e8d6.jpg): Process tag(x0202=JPEGInterch): Illegal format code 0x5288, suppose BYTE in /public_html/searchtheearth/admin/include/image.class.php on line 244
[14-Feb-2014 16:53:31 America/Denver] PHP Warning: exif_read_data(20140214165330-f3803539.jpg): Process tag(x0202=JPEGInterch): Illegal format code 0x641D, suppose BYTE in /public_html/searchtheearth/admin/include/image.class.php on line 244
[14-Feb-2014 16:53:32 America/Denver] PHP Warning: exif_read_data(20140214165332-ad04e773.jpg): Process tag(x0202=JPEGInterch): Illegal format code 0x708F, suppose BYTE in /public_html/searchtheearth/admin/include/image.class.php on line 244
[14-Feb-2014 16:53:34 America/Denver] PHP Warning: exif_read_data(20140214165334-f67793ed.jpg): Process tag(x0202=JPEGInterch): Illegal format code 0x920D, suppose BYTE in /public_html/searchtheearth/admin/include/image.class.php on line 244
/public_html/searchtheearth/error_log:
#5 {main}
thrown in /public_html/searchtheearth/admin/include/image.class.php on line 460
[16-Feb-2014 12:21:42 America/Denver] PHP Fatal error: Uncaught exception 'ImagickException' with message 'unable to extend cache `/public_html/searchtheearth/upload/2014/02/15/20140215093344-cc4b26dc.jpg': No space left on device # error/cache.c/OpenPixelCache/4102' in /public_html/searchtheearth/admin/include/image.class.php:460
Stack trace:
#0 /public_html/searchtheearth/admin/include/image.class.php(460): Imagick- >scaleimage(1536, 1152)
#1 [internal function]: image_imagick->resize(792, 594)
#2 /public_html/searchtheearth/admin/include/image.class.php(93): call_user_func_array(Array, Array)
#3 /public_html/searchtheearth/i.php(557): pwg_image->__call('resize', Array)
#4 /public_html/searchtheearth/i.php(557): pwg_image->resize(792, 594)
#5 {main}
thrown in /public_html/searchtheearth/admin/include/image.class.php on line 460
[16-Feb-2014 12:21:43 America/Denver] PHP Fatal error: Uncaught exception 'ImagickException' with message 'unable to extend cache `/public_html/searchtheearth/upload/2014/02/15/20140215093344-cc4b26dc.jpg': No space left on device # error/cache.c/OpenPixelCache/4102' in /public_html/searchtheearth/admin/include/image.class.php:460
Stack trace:
#0 /public_html/searchtheearth/admin/include/image.class.php(460): Imagick- >scaleimage(1536, 1152)
#1 [internal function]: image_imagick->resize(792, 594)
#2 /public_html/searchtheearth/admin/include/image.class.php(93): call_user_func_array(Array, Array)
#3 /public_html/searchtheearth/i.php(557): pwg_image->__call('resize', Array)
#4 /public_html/searchtheearth/i.php(557): pwg_image->resize(792, 594)
#5 {main} thrown in /public_html/searchtheearth/admin/include/image.class.php on line 460
[16-Feb-2014 12:21:44 America/Denver] PHP Fatal error: Uncaught exception 'ImagickException' with message 'unable to extend cache `/public_html/searchtheearth/upload/2014/02/15/20140215093344-cc4b26dc.jpg': No space left on device # error/cache.c/OpenPixelCache/4102' in /public_html/searchtheearth/admin/include/image.class.php:460
Stack trace:
#0 /public_html/searchtheearth/admin/include/image.class.php(460): Imagick- >scaleimage(1536, 1152)
#1 [internal function]: image_imagick->resize(792, 594)
#2 /public_html/searchtheearth/admin/include/image.class.php(93): call_user_func_array(Array, Array)
#3 /public_html/searchtheearth/i.php(557): pwg_image->__call('resize', Array)
#4 /public_html/searchtheearth/i.php(557): pwg_image->resize(792, 594)
#5{main) thrown in /public_html/searchtheearth/admin/include/image.class.php on line 460
[16-Feb-2014 12:33:58 America/Denver] PHP Warning: Unknown: Input variables exceeded 1000. To increase the limit change max_input_vars in php.ini. in Unknown on line 0
/public_html/searchtheearth/plugins/LocalFilesEditor/error_log:
[12-Feb-2014 13:28:12 America/Denver] PHP Warning: file_get_contents(../../plugins/adult_content/language/en_GB/plugin.lang.php): failed to open stream: No such file or directory in /public_html/searchtheearth/plugins/LocalFilesEditor/show_default.php on line 41
/public_html/searchtheearth/plugins/oAuth/error_log:
[11-Feb-2014 05:33:44 America/Denver] PHP Notice: Undefined index: in /public_html/searchtheearth/plugins/oAuth/auth.php on line 165
[11-Feb-2014 13:13:23 America/Denver] PHP Notice: Undefined index: in /public_html/searchtheearth/plugins/oAuth/auth.php on line 165
/public_html/searchtheearth/plugins/EasyCaptcha/tictac/error_log:
[12-Feb-2014 10:29:23 America/Denver] PHP Fatal error: Cannot redeclare drawcircle() in /public_html/searchtheearth/plugins/EasyCaptcha/tictac/functions_tictac.inc.php on line 83
[12-Feb-2014 10:44:59 America/Denver] PHP Fatal error: Cannot redeclare drawcircle() in /public_html/searchtheearth/plugins/EasyCaptcha/tictac/functions_tictac.inc.php on line 83
[12-Feb-2014 10:44:59 America/Denver] PHP Fatal error: Cannot redeclare drawcircle() in /public_html/searchtheearth/plugins/EasyCaptcha/tictac/functions_tictac.inc.php on line 83
[12-Feb-2014 10:47:20 America/Denver] PHP Fatal error: Cannot redeclare drawcircle() in /public_html/searchtheearth/plugins/EasyCaptcha/tictac/functions_tictac.inc.php on line 83
[12-Feb-2014 10:47:20 America/Denver] PHP Fatal error: Cannot redeclare drawcircle() in /public_html/searchtheearth/plugins/EasyCaptcha/tictac/functions_tictac.inc.php on line 83
[12-Feb-2014 10:47:50 America/Denver] PHP Fatal error: Cannot redeclare drawcircle() in /public_html/searchtheearth/plugins/EasyCaptcha/tictac/functions_tictac.inc.php on line 83
[12-Feb-2014 10:56:45 America/Denver] PHP Fatal error: Cannot redeclare drawcircle() in /public_html/searchtheearth/plugins/EasyCaptcha/tictac/functions_tictac.inc.php on line 83
[12-Feb-2014 10:56:45 America/Denver] PHP Fatal error: Cannot redeclare drawcircle() in /public_html/searchtheearth/plugins/EasyCaptcha/tictac/functions_tictac.inc.php on line 83
[12-Feb-2014 10:57:00 America/Denver] PHP Fatal error: Cannot redeclare drawcircle() in /public_html/searchtheearth/plugins/EasyCaptcha/tictac/functions_tictac.inc.php on line 83
[12-Feb-2014 11:04:52 America/Denver] PHP Fatal error: Cannot redeclare drawcircle() in /public_html/searchtheearth/plugins/EasyCaptcha/tictac/functions_tictac.inc.php on line 83
[12-Feb-2014 11:04:52 America/Denver] PHP Fatal error: Cannot redeclare drawcircle() in /public_html/searchtheearth/plugins/EasyCaptcha/tictac/functions_tictac.inc.php on line 83
[12-Feb-2014 11:05:26 America/Denver] PHP Fatal error: Cannot redeclare drawcircle() in /public_html/searchtheearth/plugins/EasyCaptcha/tictac/functions_tictac.inc.php on line 83
[12-Feb-2014 11:05:31 America/Denver] PHP Fatal error: Cannot redeclare drawcircle() in /public_html/searchtheearth/plugins/EasyCaptcha/tictac/functions_tictac.inc.php on line 83
[14-Feb-2014 07:26:58 America/Denver] PHP Fatal error: Cannot redeclare drawcircle() in /public_html/searchtheearth/plugins/EasyCaptcha/tictac/functions_tictac.inc.php on line 83
[14-Feb-2014 07:26:58 America/Denver] PHP Fatal error: Cannot redeclare drawcircle() in /public_html/searchtheearth/plugins/EasyCaptcha/tictac/functions_tictac.inc.php on line 83
[14-Feb-2014 07:29:10 America/Denver] PHP Fatal error: Cannot redeclare drawcircle() in /public_html/searchtheearth/plugins/EasyCaptcha/tictac/functions_tictac.inc.php on line 83
[14-Feb-2014 07:29:35 America/Denver] PHP Fatal error: Cannot redeclare drawcircle() in /public_html/searchtheearth/plugins/EasyCaptcha/tictac/functions_tictac.inc.php on line 83
[14-Feb-2014 07:30:20 America/Denver] PHP Fatal error: Cannot redeclare drawcircle() in /public_html/searchtheearth/plugins/EasyCaptcha/tictac/functions_tictac.inc.php on line 83
[14-Feb-2014 07:30:20 America/Denver] PHP Fatal error: Cannot redeclare drawcircle() in /public_html/searchtheearth/plugins/EasyCaptcha/tictac/functions_tictac.inc.php on line 83
[14-Feb-2014 07:30:27 America/Denver] PHP Fatal error: Cannot redeclare drawcircle() in /public_html/searchtheearth/plugins/EasyCaptcha/tictac/functions_tictac.inc.php on line 83
[14-Feb-2014 07:30:44 America/Denver] PHP Fatal error: Cannot redeclare drawcircle() in /public_html/searchtheearth/plugins/EasyCaptcha/tictac/functions_tictac.inc.php on line 83
[14-Feb-2014 07:30:44 America/Denver] PHP Fatal error: Cannot redeclare drawcircle() in /public_html/searchtheearth/plugins/EasyCaptcha/tictac/functions_tictac.inc.php on line 83
[14-Feb-2014 07:31:03 America/Denver] PHP Fatal error: Cannot redeclare drawcircle() in /public_html/searchtheearth/plugins/EasyCaptcha/tictac/functions_tictac.inc.php on line 83
[14-Feb-2014 07:31:12 America/Denver] PHP Fatal error: Cannot redeclare drawcircle() in /public_html/searchtheearth/plugins/EasyCaptcha/tictac/functions_tictac.inc.php on line 83
[14-Feb-2014 21:16:43 America/Denver] PHP Fatal error: Cannot redeclare drawcircle() in /public_html/searchtheearth/plugins/EasyCaptcha/tictac/functions_tictac.inc.php on line 83
[14-Feb-2014 21:37:13 America/Denver] PHP Fatal error: Cannot redeclare drawcircle() in /public_html/searchtheearth/plugins/EasyCaptcha/tictac/functions_tictac.inc.php on line 83
[14-Feb-2014 21:37:37 America/Denver] PHP Fatal error: Cannot redeclare drawcircle() in /public_html/searchtheearth/plugins/EasyCaptcha/tictac/functions_tictac.inc.php on line 83
[14-Feb-2014 21:37:57 America/Denver] PHP Fatal error: Cannot redeclare drawcircle() in /public_html/searchtheearth/plugins/EasyCaptcha/tictac/functions_tictac.inc.php on line 83
[14-Feb-2014 21:38:18 America/Denver] PHP Fatal error: Cannot redeclare drawcircle() in /public_html/searchtheearth/plugins/EasyCaptcha/tictac/functions_tictac.inc.php on line 83
[ 15-Feb-2014 07:23:41 America/Denver] PHP Fatal error: Cannot redeclare drawcircle() in /public_html/searchtheearth/plugins/EasyCaptcha/tictac/functions_tictac.inc.php on line 83
------------------------------------end of log---------------------------------------------------------------------
Piwigo version: 2.6.1
PHP version: 5.4.24
MySQL version: 5.5.36
Piwigo URL: http://searchtheearth.com

Piwigo caches images, this is filling up your space.
How many images are on your space?
The exception you get is simply because you don't have any space left since it created so many images. You should find a way to disable image caching i.e. disabling imagemagick or commenting those lines out of Piwigo if it doesn't have a "turn off image caching" feature

Related

PEAR error + Open Server and Opencart project

I have a project based on Opencart 3+ version on my OpenServer.
Then i try to load my project i have some errors.
Notice: unserialize(): Error at offset 0 of 5 bytes in C:\OpenServer\domains\depotop\admin\index.php on line 46
Notice: unserialize(): Error at offset 0 of 22 bytes in C:\OpenServer\domains\depotop\admin\index.php on line 46
Notice: unserialize(): Error at offset 0 of 9 bytes in C:\OpenServer\domains\depotop\admin\index.php on line 46
Notice: unserialize(): Error at offset 0 of 9 bytes in C:\OpenServer\domains\depotop\admin\index.php on line 46
Notice: unserialize(): Error at offset 0 of 29 bytes in C:\OpenServer\domains\depotop\admin\index.php on line 46
Warning: ini_set(): Headers already sent. You cannot change the session module's ini settings at this time in C:\OpenServer\domains\depotop\system\library\session.php on line 7
Warning: ini_set(): Headers already sent. You cannot change the session module's ini settings at this time in C:\OpenServer\domains\depotop\system\library\session.php on line 8
Warning: session_set_cookie_params(): Cannot change session cookie parameters when headers already sent in C:\OpenServer\domains\depotop\system\library\session.php on line 10
Warning: session_start(): Cannot start session when headers already sent in C:\OpenServer\domains\depotop\system\library\session.php on line 11
Notice: Undefined index: filename in C:\OpenServer\domains\depotop\admin\index.php on line 123
Notice: Error: Could not load language ! in C:\OpenServer\domains\depotop\system\library\language.php on line 43
Warning: Cannot modify header information - headers already sent by (output started at C:\OpenServer\domains\depotop\admin\index.php:46) in C:\OpenServer\domains\depotop\system\library\currency.php on line 52
Warning: unlink(c:/OpenServer/domains/depotop/system/cache/cache_c21f969b5f03d33d43e04f8f136e7682_7f24d9fc4140045241b3f97bcf36bf03): No such file or directory in C:\OpenServer\domains\depotop\vendor\pear\cache_lite\Cache\Lite.php on line 608
Warning: include_once(PEAR.php): failed to open stream: No such file or directory in C:\OpenServer\domains\depotop\vendor\pear\cache_lite\Cache\Lite.php on line 567
Warning: include_once(): Failed opening 'PEAR.php' for inclusion (include_path='C:\OpenServer\domains\depotop\vendor/pear/cache_lite;.') in C:\OpenServer\domains\depotop\vendor\pear\cache_lite\Cache\Lite.php on line 567
Fatal error: Uncaught Error: Class 'PEAR' not found in C:\OpenServer\domains\depotop\vendor\pear\cache_lite\Cache\Lite.php:568
Stack trace:
#0 C:\OpenServer\domains\depotop\vendor\pear\cache_lite\Cache\Lite.php(609): Cache_Lite->raiseError()
#1 C:\OpenServer\domains\depotop\vendor\pear\cache_lite\Cache\Lite.php(459): Cache_Lite->_unlink()
#2 C:\OpenServer\domains\depotop\admin\model\localisation\currency.php(170): Cache_Lite->remove()
#3 C:\OpenServer\domains\depotop\admin\controller\common\login.php(89): ModelLocalisationCurrency->updateCurrencies()
#4 C:\OpenServer\domains\depotop\system\engine\front.php(42): ControllerCommonLogin->index()
#5 C:\OpenServer\domains\depotop\system\engine\front.php(29): Front->execute()
#6 C:\OpenServer\domains\depotop\admin\index.php(160): Front->dispatch()
#7 {main} thrown in C:\OpenServer\domains\depotop\vendor\pear\cache_lite\Cache\Lite.php on line 568
Pear on my server, 7.4 php version
# pear list
INSTALLED PACKAGES, CHANNEL PEAR.PHP.NET:
=========================================
PACKAGE VERSION STATE
Archive_Tar 1.4.9 stable
Console_Getopt 1.4.3 stable
PEAR 1.10.12 stable
Structures_Graph 1.1.1 stable
XML_Util 1.4.5 stable
Why "Fatal error: Uncaught Error: Class 'PEAR' not found in", how i can fix that?
This error occurs beacuse the file PEAR.php is not found in the given directory. You just include this file. Have you checked, if the file PEAR.php is really in the given path you use with include_once('Pear.php')?
The solution to your problem: Just give the right path to the include function.

WordPress - Contact Form

I trasfered a Wordpress site from an old hosting provider to another. To do this I performed these steps:
I download the public_html content from the old provider;
I exported the database content from the old provider;
I tried using the WordPress automatic import but it doesn't work (it could not establish the FTP connection with the old provider);
I installed Wordpress in the new provider;
I copied the old public_html folder in the new one;
I imported all the old tables from the previous Database export;
I corrected the database connection (DB_NAME, DB_USER, DB_PASSWORD, ...) in the wp-config.php file;
At this point the site seems to work... but not the "Contact Form". In fact, after activate the WordPress debug mode, if I send a message from the site I get this response in my debug.log:
[22-Nov-2018 16:21:12 UTC] PHP Fatal error: Uncaught Error: Class 'RevSliderFunctionsWP' not found in /home/yc32of0z/public_html/wp-content/plugins/revslider/revslider.php:91
Stack trace:
#0 /home/yc32of0z/public_html/wp-settings.php(305): include_once()
#1 /home/yc32of0z/public_html/wp-config.php(88): require_once('/home/yc32of0z/...')
#2 /home/yc32of0z/public_html/wp-load.php(37): require_once('/home/yc32of0z/...')
#3 /home/yc32of0z/public_html/xmlrpc.php(29): include('/home/yc32of0z/...')
#4 {main}
thrown in /home/yc32of0z/public_html/wp-content/plugins/revslider/revslider.php on line 91
[22-Nov-2018 16:21:34 UTC] PHP Deprecated: Function create_function() is deprecated in /home/yc32of0z/public_html/wp-content/plugins/LayerSlider/wp/widgets.php on line 4
[22-Nov-2018 16:21:34 UTC] PHP Notice: Constant DB_NAME already defined in /home/yc32of0z/public_html/wp-content/plugins/revslider/includes/framework/functions-wordpress.class.php on line 19
[22-Nov-2018 16:21:34 UTC] PHP Notice: Constant DB_USER already defined in /home/yc32of0z/public_html/wp-content/plugins/revslider/includes/framework/functions-wordpress.class.php on line 22
[22-Nov-2018 16:21:34 UTC] PHP Notice: Constant DB_PASSWORD already defined in /home/yc32of0z/public_html/wp-content/plugins/revslider/includes/framework/functions-wordpress.class.php on line 25
[22-Nov-2018 16:21:34 UTC] PHP Notice: Constant DB_HOST already defined in /home/yc32of0z/public_html/wp-content/plugins/revslider/includes/framework/functions-wordpress.class.php on line 28
[22-Nov-2018 16:21:34 UTC] PHP Notice: Constant DB_CHARSET already defined in /home/yc32of0z/public_html/wp-content/plugins/revslider/includes/framework/functions-wordpress.class.php on line 31
[22-Nov-2018 16:21:34 UTC] PHP Notice: Constant DB_COLLATE already defined in /home/yc32of0z/public_html/wp-content/plugins/revslider/includes/framework/functions-wordpress.class.php on line 34
[22-Nov-2018 16:21:34 UTC] PHP Warning: require(wp-salt.php): failed to open stream: No such file or directory in /home/yc32of0z/public_html/wp-content/plugins/revslider/includes/framework/functions-wordpress.class.php on line 41
[22-Nov-2018 16:21:34 UTC] PHP Warning: require(wp-salt.php): failed to open stream: No such file or directory in /home/yc32of0z/public_html/wp-content/plugins/revslider/includes/framework/functions-wordpress.class.php on line 41
[22-Nov-2018 16:21:34 UTC] PHP Fatal error: require(): Failed opening required 'wp-salt.php' (include_path='.:/opt/alt/php72/usr/share/pear') in /home/yc32of0z/public_html/wp-content/plugins/revslider/includes/framework/functions-wordpress.class.php on line 41
[22-Nov-2018 16:21:59 UTC] PHP Deprecated: Function create_function() is deprecated in /home/yc32of0z/public_html/wp-content/plugins/LayerSlider/wp/widgets.php on line 4
[22-Nov-2018 16:21:59 UTC] PHP Notice: Constant DB_NAME already defined in /home/yc32of0z/public_html/wp-content/plugins/revslider/includes/framework/functions-wordpress.class.php on line 19
[22-Nov-2018 16:21:59 UTC] PHP Notice: Constant DB_USER already defined in /home/yc32of0z/public_html/wp-content/plugins/revslider/includes/framework/functions-wordpress.class.php on line 22
[22-Nov-2018 16:21:59 UTC] PHP Notice: Constant DB_PASSWORD already defined in /home/yc32of0z/public_html/wp-content/plugins/revslider/includes/framework/functions-wordpress.class.php on line 25
[22-Nov-2018 16:21:59 UTC] PHP Notice: Constant DB_HOST already defined in /home/yc32of0z/public_html/wp-content/plugins/revslider/includes/framework/functions-wordpress.class.php on line 28
[22-Nov-2018 16:21:59 UTC] PHP Notice: Constant DB_CHARSET already defined in /home/yc32of0z/public_html/wp-content/plugins/revslider/includes/framework/functions-wordpress.class.php on line 31
[22-Nov-2018 16:21:59 UTC] PHP Notice: Constant DB_COLLATE already defined in /home/yc32of0z/public_html/wp-content/plugins/revslider/includes/framework/functions-wordpress.class.php on line 34
[22-Nov-2018 16:21:59 UTC] PHP Warning: require(wp-salt.php): failed to open stream: No such file or directory in /home/yc32of0z/public_html/wp-content/plugins/revslider/includes/framework/functions-wordpress.class.php on line 41
[22-Nov-2018 16:21:59 UTC] PHP Warning: require(wp-salt.php): failed to open stream: No such file or directory in /home/yc32of0z/public_html/wp-content/plugins/revslider/includes/framework/functions-wordpress.class.php on line 41
[22-Nov-2018 16:21:59 UTC] PHP Fatal error: require(): Failed opening required 'wp-salt.php' (include_path='.:/opt/alt/php72/usr/share/pear') in /home/yc32of0z/public_html/wp-content/plugins/revslider/includes/framework/functions-wordpress.class.php on line 41
[22-Nov-2018 16:22:35 UTC] PHP Deprecated: Function create_function() is deprecated in /home/yc32of0z/public_html/wp-content/plugins/LayerSlider/wp/widgets.php on line 4
[22-Nov-2018 16:22:35 UTC] PHP Notice: Constant DB_NAME already defined in /home/yc32of0z/public_html/wp-content/plugins/revslider/includes/framework/functions-wordpress.class.php on line 19
[22-Nov-2018 16:22:35 UTC] PHP Notice: Constant DB_USER already defined in /home/yc32of0z/public_html/wp-content/plugins/revslider/includes/framework/functions-wordpress.class.php on line 22
[22-Nov-2018 16:22:35 UTC] PHP Notice: Constant DB_PASSWORD already defined in /home/yc32of0z/public_html/wp-content/plugins/revslider/includes/framework/functions-wordpress.class.php on line 25
[22-Nov-2018 16:22:35 UTC] PHP Notice: Constant DB_HOST already defined in /home/yc32of0z/public_html/wp-content/plugins/revslider/includes/framework/functions-wordpress.class.php on line 28
[22-Nov-2018 16:22:35 UTC] PHP Notice: Constant DB_CHARSET already defined in /home/yc32of0z/public_html/wp-content/plugins/revslider/includes/framework/functions-wordpress.class.php on line 31
[22-Nov-2018 16:22:35 UTC] PHP Notice: Constant DB_COLLATE already defined in /home/yc32of0z/public_html/wp-content/plugins/revslider/includes/framework/functions-wordpress.class.php on line 34
[22-Nov-2018 16:22:35 UTC] PHP Warning: require(wp-salt.php): failed to open stream: No such file or directory in /home/yc32of0z/public_html/wp-content/plugins/revslider/includes/framework/functions-wordpress.class.php on line 41
[22-Nov-2018 16:22:35 UTC] PHP Warning: require(wp-salt.php): failed to open stream: No such file or directory in /home/yc32of0z/public_html/wp-content/plugins/revslider/includes/framework/functions-wordpress.class.php on line 41
[22-Nov-2018 16:22:35 UTC] PHP Fatal error: require(): Failed opening required 'wp-salt.php' (include_path='.:/opt/alt/php72/usr/share/pear') in /home/yc32of0z/public_html/wp-content/plugins/revslider/includes/framework/functions-wordpress.class.php on line 41
[22-Nov-2018 16:23:35 UTC] PHP Deprecated: Function create_function() is deprecated in /home/yc32of0z/public_html/wp-content/plugins/LayerSlider/wp/widgets.php on line 4
Can anyone help me?
It seems that the Revolution Slider plugin has some files missing. Try deleting the Revolution Slider plugin and then installing it again from the wp-admin.

Blank page after plugins (ACF pro) updates on wordpress site

After I have updated some plugins in my wordpress site I have blank page and could not even login to my wp-admin. I have the ACF pro plugin and I think that someting is wrong with it, because I disabled manually another plugins and the problem still exists. Here you have the DEBUG LOGs.
[26-Oct-2017 06:47:40 UTC] PHP Fatal error: Call to undefined function get_field() in /home/virt6336/domains/mydomain.pl/public_html/wp-content/themes/mydomain/header.php on line 16
.
.
.
[26-Oct-2017 06:51:10 UTC] PHP Fatal error: Call to undefined function get_field() in /home/virt6336/domains/mydomain.pl/public_html/wp-content/themes/mydomain/header.php on line 16
[26-Oct-2017 06:51:26 UTC] PHP Fatal error: Call to undefined function get_field() in /home/virt6336/domains/mydomain.pl/public_html/wp-content/themes/mydomain/functions.php on line 141
.
.
.
[26-Oct-2017 07:09:04 UTC] PHP Fatal error: Call to undefined function get_field() in /home/virt6336/domains/mydomain.pl/public_html/wp-content/themes/mydomain/functions.php on line 141
[26-Oct-2017 07:14:00 UTC] PHP Parse error: syntax error, unexpected '{' in /home/virt6336/domains/mydomain.pl/public_html/wp-content/themes/mydomain/functions.php on line 141
[26-Oct-2017 07:16:04 UTC] PHP Parse error: syntax error, unexpected '{' in /home/virt6336/domains/mydomain.pl/public_html/wp-content/themes/mydomain/functions.php on line 141
[26-Oct-2017 07:16:36 UTC] PHP Parse error: syntax error, unexpected '{' in /home/virt6336/domains/mydomain.pl/public_html/wp-content/themes/mydomain/functions.php on line 141
[26-Oct-2017 07:16:50 UTC] PHP Fatal error: Call to undefined function get_field() in /home/virt6336/domains/mydomain.pl/public_html/wp-content/themes/mydomain/functions.php on line 141
.
.
.
[26-Oct-2017 07:16:52 UTC] PHP Fatal error: Call to undefined function get_field() in /home/virt6336/domains/mydomain.pl/public_html/wp-content/themes/mydomain/functions.php on line 141
[26-Oct-2017 07:18:07 UTC] PHP Fatal error: Call to undefined function get_field() in /home/virt6336/domains/mydomain.pl/public_html/wp-content/themes/mydomain/functions.php on line 118
[26-Oct-2017 07:19:08 UTC] PHP Parse error: syntax error, unexpected 'if' (T_IF) in /home/virt6336/domains/mydomain.pl/public_html/wp-content/themes/mydomain/functions.php on line 141
.
.
.
[26-Oct-2017 07:20:55 UTC] PHP Parse error: syntax error, unexpected 'if' (T_IF) in /home/virt6336/domains/mydomain.pl/public_html/wp-content/themes/mydomain/functions.php on line 141
[26-Oct-2017 07:21:00 UTC] PHP Fatal error: Call to undefined function get_field() in /home/virt6336/domains/mydomain.pl/public_html/wp-content/themes/mydomain/functions.php on line 118
[26-Oct-2017 07:21:23 UTC] PHP Fatal error: Call to undefined function get_field() in /home/virt6336/domains/mydomain.pl/public_html/wp-content/themes/mydomain/functions.php on line 118
[26-Oct-2017 07:24:25 UTC] PHP Fatal error: Call to undefined function get_field() in /home/virt6336/domains/mydomain.pl/public_html/wp-content/themes/mydomain/functions.php on line 142
[26-Oct-2017 07:27:19 UTC] PHP Fatal error: Call to undefined function get_field() in /home/virt6336/domains/mydomain.pl/public_html/wp-content/themes/mydomain/functions.php on line 142
[26-Oct-2017 07:27:26 UTC] PHP Fatal error: Call to undefined function get_field() in /home/virt6336/domains/mydomain.pl/public_html/wp-content/themes/mydomain/functions.php on line 142
I have also the image with installed plugins:
I do not have any idea what I could do to solve my problem. Any of you had similar issue before ?

PHP importDump.php Mediawiki Import error Document is empty

I am trying to import the mediawiki dump in fresh install of mediawiki, latest stable version.
[root# maintenance]# php importDump.php < dump_en.xml.bz2
and I am getting
[root# maintenance]# php importDump.php < dump_en.xml.bz2
PHP Warning: XMLReader::read(): uploadsource://2fe09586b4f978244fd125df8178a93f:1: parser error : Document is empty in /var/www/public_html/includes/Import.php on line 449
Warning: XMLReader::read(): uploadsource://2fe09586b4f978244fd125df8178a93f:1: parser error : Document is empty in /var/www/public_html/includes/Import.php on line 449
PHP Warning: XMLReader::read(): BZh91AY&SYцу[dЕЖ_ЪUЪЪЪЪЪЪЗ©ЪЪЪЪЪЪЪЪЪ· in /var/www/public_html/includes/Import.php on line 449
Warning: XMLReader::read(): BZh91AY&SYцу[dЕЖ_ЪUЪЪЪЪЪЪЗ©ЪЪЪЪЪЪЪЪЪ· in /var/www/public_html/includes/Import.php on line 449
PHP Warning: XMLReader::read(): ^ in /var/www/public_html/includes/Import.php on line 449
Warning: XMLReader::read(): ^ in /var/www/public_html/includes/Import.php on line 449
PHP Warning: XMLReader::read(): An Error Occured while reading in /var/www/public_html/includes/Import.php on line 449
Warning: XMLReader::read(): An Error Occured while reading in /var/www/public_html/includes/Import.php on line 449
[6c11e6cc] [no req] Exception from line 453 of /var/www/public_html/includes/Import.php: Expected <mediawiki> tag, got
Backtrace:
#0 /var/www/public_html/maintenance/importDump.php(286): WikiImporter->doImport()
#1 /var/www/public_html/maintenance/importDump.php(253): BackupReader->importFromHandle(resource)
#2 /var/www/public_html/maintenance/importDump.php(97): BackupReader->importFromStdin()
#3 /var/www/public_html/maintenance/doMaintenance.php(113): BackupReader->execute()
#4 /var/www/public_html/maintenance/importDump.php(291): require_once(string)
#5 {main}
I have already set:
$wgShowExceptionDetails = true;
in LocalSettings.php
How can I import the dump in the media-wiki?

PHP Restler Server 500 Error

I've installed restler using composer. I've set up a virtual host for it. I'm able to go to my localhost in my browser and it shows some informational pages but as soon as I try one of the APIs I get a server 500 error.
My PHP logs say:
Function main
Error Type E_ERROR
Source File /public/examples/_001_helloworld/index.php : 18
Error String Class 'Luracast\Restler\Restler' not found
I'm using the example code straight out of the project. It looks like it has the require_once '../../../vendor/restler.php' and it seems to still have 500 errors.
I'm using PHP 5.4.16 on a Mac.
Update
Here are all of my logs:
[05-Sep-2013 17:05:09 America/Denver] PHP Warning: include(/Users/ChrisLondon/composer/autoload_classmap.php): failed to open stream: No such file or directory in /Users/ChrisLondon/personal/SuperfyMe/vendor/Luracast/Restler/AutoLoader.php on line 432
[05-Sep-2013 17:05:09 America/Denver] PHP Warning: include(): Failed opening '/Users/ChrisLondon/composer/autoload_classmap.php' for inclusion (include_path='.:/usr/local/zend/share/ZendFramework/library:/usr/local/zend/share/pear:/opt/local/lib/php') in /Users/ChrisLondon/personal/SuperfyMe/vendor/Luracast/Restler/AutoLoader.php on line 432
[05-Sep-2013 17:05:09 America/Denver] PHP Warning: include(/Users/ChrisLondon/composer/autoload_namespaces.php): failed to open stream: No such file or directory in /Users/ChrisLondon/personal/SuperfyMe/vendor/Luracast/Restler/AutoLoader.php on line 432
[05-Sep-2013 17:05:09 America/Denver] PHP Warning: include(): Failed opening '/Users/ChrisLondon/composer/autoload_namespaces.php' for inclusion (include_path='.:/usr/local/zend/share/ZendFramework/library:/usr/local/zend/share/pear:/opt/local/lib/php') in /Users/ChrisLondon/personal/SuperfyMe/vendor/Luracast/Restler/AutoLoader.php on line 432
[05-Sep-2013 17:05:09 America/Denver] PHP Warning: array_values() expects parameter 1 to be array, boolean given in /Users/ChrisLondon/personal/SuperfyMe/vendor/Luracast/Restler/AutoLoader.php on line 154
[05-Sep-2013 17:05:09 America/Denver] PHP Warning: array_merge(): Argument #2 is not an array in /Users/ChrisLondon/personal/SuperfyMe/vendor/Luracast/Restler/AutoLoader.php on line 155
[05-Sep-2013 17:05:09 America/Denver] PHP Warning: array_merge(): Argument #1 is not an array in /Users/ChrisLondon/personal/SuperfyMe/vendor/Luracast/Restler/AutoLoader.php on line 155
[05-Sep-2013 17:05:09 America/Denver] PHP Warning: array_map(): Argument #2 should be an array in /Users/ChrisLondon/personal/SuperfyMe/vendor/Luracast/Restler/AutoLoader.php on line 166
[05-Sep-2013 17:05:09 America/Denver] PHP Warning: array_filter() expects parameter 1 to be array, null given in /Users/ChrisLondon/personal/SuperfyMe/vendor/Luracast/Restler/AutoLoader.php on line 166
[05-Sep-2013 17:05:09 America/Denver] PHP Warning: natsort() expects parameter 1 to be array, null given in /Users/ChrisLondon/personal/SuperfyMe/vendor/Luracast/Restler/AutoLoader.php on line 167
[05-Sep-2013 17:05:09 America/Denver] PHP Warning: array_unique() expects parameter 1 to be array, null given in /Users/ChrisLondon/personal/SuperfyMe/vendor/Luracast/Restler/AutoLoader.php on line 170
[05-Sep-2013 17:05:09 America/Denver] PHP Warning: implode(): Invalid arguments passed in /Users/ChrisLondon/personal/SuperfyMe/vendor/Luracast/Restler/AutoLoader.php on line 170
[05-Sep-2013 17:05:09 America/Denver] PHP Fatal error: Class 'Luracast\Restler\Restler' not found in /Users/ChrisLondon/personal/SuperfyMe/public/examples/_001_helloworld/index.php on line 19
It seems like it's trying to find the autoload class here: /Users/ChrisLondon/composer/autoload_classmap.php but the file is actually here: /Users/ChrisLondon/personal/SuperfyMe/vendor/composer/autoload_classmap.php
Solved my issue.
It turns out because I have a folder named composer/ that happens to be two folders up from where the Restler app sits it ruins the Restler autoloader. To solve the issue one needs to do one of the following:
1) Don't have any folder named composer/ two folders up from where the Restler app resides
2) Modify the Restler autoloader to skip the folder (at the time of this post you could comment out line 138 of /vendor/Luracast/Restler/Autoloader.php)
A more elegant solution has been proposed by me on GitHub:
Issue: https://github.com/Luracast/Restler/issues/195
Pull Request: https://github.com/Luracast/Restler/pull/196
By the time someone else finds this post hopefully the issue will be resolved in future versions of Restler.

Categories