I'm using xampp 1.8.1 on windows xp home edition and TS,VC9 and my php version is 5.4.7.
I did all thing even add php_http.dll in extension and add extension in php.ini but I could not use httprequest class
errors:
Deprecated: Assigning the return value of new by reference is deprecated in C:\xampp\php\pear\HTTP\Request.php on line 412
Deprecated: Assigning the return value of new by reference is deprecated in C:\xampp\php\pear\HTTP\Request.php on line 736
Deprecated: Assigning the return value of new by reference is deprecated in C:\xampp\php\pear\HTTP\Request.php on line 749
Deprecated: Assigning the return value of new by reference is deprecated in C:\xampp\php\pear\HTTP\Request.php on line 794
Strict Standards: Redefining already defined constructor for class Net_URL in C:\xampp\php\pear\Net\URL.php on line 124
Fatal error: Class 'HttpRequest' not found in C:\xampp\htdocs\crawl\index.php on line 4
Related
I'm trying install to my vmware freebsd, i did install msqli, php, apache all lastest version and when i tried to install ojs im gettings this errors, please help thanks.
Function create_function() is deprecated in in /usr/local/www/apache24/data/ojs-3.1.0-1/lib/pkp/classes/install/form/InstallForm.inc.php on line 92
Deprecated: Non-static method Application::getName() should not be called statically in /usr/local/www/apache24/data/ojs-3.1.0-1/lib/pkp/classes/install/form/InstallForm.inc.php on line 146
Deprecated: Non-static method Application::getName() should not be called statically in /usr/local/www/apache24/data/ojs-3.1.0-1/lib/pkp/classes/install/form/InstallForm.inc.php on line 148
Deprecated: Non-static method Application::getName() should not be called statically in /usr/local/www/apache24/data/ojs-3.1.0-1/lib/pkp/classes/install/form/InstallForm.inc.php on line 150
Deprecated: Non-static method VersionCheck::getCurrentCodeVersion() should not be called statically in /usr/local/www/apache24/data/ojs-3.1.0-1/lib/pkp/classes/install/form/MaintenanceForm.inc.php on line 37
Deprecated: Non-static method PKPRequest::getUserVar() should not be called statically in /usr/local/www/apache24/data/ojs-3.1.0-1/lib/pkp/classes/form/Form.inc.php on line 369
Deprecated: Non-static method PKPRequest::_checkThis() should not be called statically in /usr/local/www/apache24/data/ojs-3.1.0-1/lib/pkp/classes/core/PKPRequest.inc.php on line 592
Deprecated: Function create_function() is deprecated in /usr/local/www/apache24/data/ojs-3.1.0-1/lib/pkp/lib/vendor/smarty/smarty/libs/Smarty_Compiler.class.php on line 269
Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /usr/local/www/apache24/data/ojs-3.1.0-1/lib/pkp/lib/vendor/smarty/smarty/libs/Smarty_Compiler.class.php on line 559
Deprecated: Function create_function() is deprecated in /usr/local/www/apache24/data/ojs-3.1.0-1/lib/pkp/lib/vendor/smarty/smarty/libs/Smarty_Compiler.class.php on line 269
Deprecated: Function create_function() is deprecated in /usr/local/www/apache24/data/ojs-3.1.0-1/lib/pkp/lib/vendor/smarty/smarty/libs/Smarty_Compiler.class.php on line 269
Deprecated: Function create_function() is deprecated in /usr/local/www/apache24/data/ojs-3.1.0-1/lib/pkp/lib/vendor/smarty/smarty/libs/Smarty_Compiler.class.php on line 269
OJS currently (as of OJS 3.1.0-1) relies on the create_function function, but that dependency is not major and will be removed before the function is no longer available in PHP.
I recommend disabling deprecation warnings and keeping your OJS up to date.
OK, i installed ojs but after the installation im getting the blank page when im opening the logs, im getting this error;
Recoverable fatal error: ini_set(): Cannot set 'user' save handler by ini_set() or session_module_name() in /usr/local/www/apache24/data/lib/pkp/classes/session/SessionManager.inc.php on line 36
Any recommend would be nice for me guys.
my wordpress site and admin site not working.
some day ago i check site working fine but from last 2 days it shows show the error.
Notice: load_plugin_textdomain was called with an argument that is deprecated since version 2.7 with no alternative available. in /var/www/html/c_project/wp-includes/functions.php on line 3844
Notice: Undefined variable: mobile in /var/www/html/c_project/wp-content/plugins/smooth-page-scroll-to-top/smooth_scroll.php on line 24
Notice: The called constructor method for WP_Widget in AboutMeWidget is deprecated since version 4.3.0! Use
__construct()
instead. in /var/www/html/c_project/wp-includes/functions.php on line 3718
Notice: The called constructor method for WP_Widget in AdsenseWidget is deprecated since version 4.3.0! Use
__construct()
instead. in /var/www/html/c_project/wp-includes/functions.php on line 3718
Notice: The called constructor method for WP_Widget in AdvWidget is deprecated since version 4.3.0! Use
__construct()
instead. in /var/www/html/c_project/wp-includes/functions.php on line 3718
Notice: Undefined index: act in /var/www/html/c_project/wp-content/plugins/image-captcha/image-captcha.php on line 69
Warning: require_once(/var/www/html/c_project/wp-content/themes/Divi/epanel/shortcodes/shortcodes.php): failed to open stream: No such file or directory in /var/www/html/c_project/wp-content/themes/Divi/functions.php on line 1252
Fatal error: require_once(): Failed opening required '/var/www/html/c_project/wp-content/themes/Divi/epanel/shortcodes/shortcodes.php' (include_path='/var/www/html/xphoto/models/dffa') in /var/www/html/c_project/wp-content/themes/Divi/functions.php on line 1252
how can i solve this error.?
Please suggest me.
I am trying to install a backup based off of GetFlywheel.com backup, they give wp-content and a .sql file.
I installed vanilla Wordpress, dropped the tables, imported the sql file, and replaced the wp-content folder, and now when I try and access the installation I receive a litany of errors. What's going on?
Notice: force_ssl_login is deprecated since version 4.4! Use force_ssl_admin() instead. in /Applications/MAMP/htdocs/wordpress/wp-includes/functions.php on line 3658
Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; BVHttpClient has a deprecated constructor in /Applications/MAMP/htdocs/wordpress/wp-content/plugins/wp-site-migrate/bv_http_client.php on line 3
Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; BlogVault has a deprecated constructor in /Applications/MAMP/htdocs/wordpress/wp-content/plugins/wp-site-migrate/bv_class.php on line 3
Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; BVDynamicBackup has a deprecated constructor in /Applications/MAMP/htdocs/wordpress/wp-content/plugins/wp-site-migrate/bv_dynamic_backup.php on line 3
Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; BVSecurity has a deprecated constructor in /Applications/MAMP/htdocs/wordpress/wp-content/plugins/wp-site-migrate/bv_security.php on line 3
Notice: force_ssl_login is deprecated since version 4.4! Use force_ssl_admin() instead. in /Applications/MAMP/htdocs/wordpress/wp-includes/functions.php on line 3658
Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'remove_admin_bar' not found or invalid function name in /Applications/MAMP/htdocs/wordpress/wp-includes/plugin.php on line 525
Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; AboutMeWidget has a deprecated constructor in /Applications/MAMP/htdocs/wordpress/wp-content/themes/Divi/includes/widgets/widget-about.php on line 1
Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; AdsenseWidget has a deprecated constructor in /Applications/MAMP/htdocs/wordpress/wp-content/themes/Divi/includes/widgets/widget-adsense.php on line 1
Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; AdvWidget has a deprecated constructor in /Applications/MAMP/htdocs/wordpress/wp-content/themes/Divi/includes/widgets/widget-ads.php on line 1
Notice: The called constructor method for WP_Widget in AboutMeWidget is deprecated since version 4.3.0! Use
__construct()
instead. in /Applications/MAMP/htdocs/wordpress/wp-includes/functions.php on line 3718
Notice: The called constructor method for WP_Widget in AdsenseWidget is deprecated since version 4.3.0! Use
__construct()
instead. in /Applications/MAMP/htdocs/wordpress/wp-includes/functions.php on line 3718
Notice: The called constructor method for WP_Widget in AdvWidget is deprecated since version 4.3.0! Use
__construct()
instead. in /Applications/MAMP/htdocs/wordpress/wp-includes/functions.php on line 3718
Notice: force_ssl_login is deprecated since version 4.4! Use force_ssl_admin() instead. in /Applications/MAMP/htdocs/wordpress/wp-includes/functions.php on line 3658
Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /Applications/MAMP/htdocs/wordpress/wp-includes/functions.php:3658) in /Applications/MAMP/htdocs/wordpress/wp-content/plugins/accesspress-social-login-lite/accesspress-social-login-lite.php on line 182
Notice: force_ssl_login is deprecated since version 4.4! Use force_ssl_admin() instead. in /Applications/MAMP/htdocs/wordpress/wp-includes/functions.php on line 3658
Notice: force_ssl_login is deprecated since version 4.4! Use force_ssl_admin() instead. in /Applications/MAMP/htdocs/wordpress/wp-includes/functions.php on line 3658
Notice: Trying to get property of non-object in /Applications/MAMP/htdocs/wordpress/wp-content/themes/Divi/functions.php on line 8652
Notice: Trying to get property of non-object in /Applications/MAMP/htdocs/wordpress/wp-content/themes/Divi/functions.php on line 8652
Warning: Cannot modify header information - headers already sent by (output started at /Applications/MAMP/htdocs/wordpress/wp-includes/functions.php:3658) in /Applications/MAMP/htdocs/wordpress/wp-includes/pluggable.php on line 1167
Note: If WP_DEBUG is set to false, I receive an error that I can't connect to the server at all.
Looks like the version of WP you used is out of sync with the version used by your database. I would try dropping your wp-content directory into an up-to-date version of WP and see if that helps.
I had the same problem and I solved it by upgrading WP.
I am still pretty new to everything. So if you need any more information, let me know.
What I did so far :
I copied a website from one ubuntu 10.10 server to another 12.04 ubuntu server.
I also backupped and restored the MYSQL Database.
I configurated apache2 (which is right now just locally) to display my page.
I have 3 Pages on 3 ports, the other pages work, so I probably configurated apache2 correctly.
At first i just saw a blank page, when I tried to contact my website, so I switched on the error screens.
This is what appears , I replaced the websitename to xxxx :
Deprecated: Function set_magic_quotes_runtime() is deprecated in /data/xxxx/www/index.php on line 11
Deprecated: Assigning the return value of new by reference is deprecated in /data/xxxx/www/pear/DB.php
on line 311 Deprecated: Assigning the return value of new by reference is deprecated in /data/xxxx/www/pear/DB.php
on line 385 Deprecated: Assigning the return value of new by reference is deprecated in /data/xxxx/www/pear/DB.php
on line 923 Deprecated: Assigning the return value of new by reference is deprecated in /data/xxxx/www/pear/HTML/AJAX/Server.php
on line 161 Deprecated: Assigning the return value of new by reference is deprecated in /data/xxxx/www/pear/HTML/AJAX.php
on line 612 Deprecated: Assigning the return value of new by reference is deprecated in /data/xxxx/www/pear/HTML/AJAX/Serializer/JSON.php
on line 46 Warning: include_once(../pear/Net/Socket.php): failed to open stream: No such file or directory in /data/xxxx/www/pear/Net/SMTP.php
on line 25 Warning: include_once(): Failed opening '../pear/Net/Socket.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear')
in /data/xxxx/www/pear/Net/SMTP.php on line 25 Warning: include_once(PEAR.php): failed to open stream: No such file or directory in
/data/xxxx/www/pear/Mail/mime.php on line 65 Warning: include_once(): Failed opening 'PEAR.php' for inclusion
(include_path='.:/usr/share/php:/usr/share/pear') in /data/xxxx/www/pear/Mail/mime.php on line 65 Warning:
include_once(../pear/Mail/mimePart.php): failed to open stream: No such file or directory in /data/xxxx/www/pear/Mail/mime.php
on line 75 Warning: include_once(): Failed opening '../pear/Mail/mimePart.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear')
in /data/xxxx/www/pear/Mail/mime.php on line 75 Deprecated: Assigning the return value of new by reference is deprecated in
/data/xxxx/www/pear/Spreadsheet/Excel/Writer/Workbook.php on line 180 Deprecated: Assigning the return value of new by reference
is deprecated in /data/xxxx/www/pear/Spreadsheet/Excel/Writer/Workbook.php on line 189 Deprecated: Call-time pass-by-reference
has been deprecated in /data/xxxx/www/modules/statistics/frontend.class.php on line 16 Deprecated: Call-time pass-by-reference
has been deprecated in /data/xxxx/www/modules/users/frontend.class.php on line 19 Deprecated: Assigning the return value of new
by reference is deprecated in /data/xxxx/www/pear/DB/common.php on line 958 Deprecated: Assigning the return value of new by
reference is deprecated in /data/xxxx/www/pear/DB/common.php on line 1150 Notice: DB Error: connect failed in
/data/xxxx/www/classes/registry.class.php on line 70
the only thing I understand here is : Simple Mail Transfer Protocol (SMTP)
it seems that some data was not copied correctly.
How to check the excat size of the folder and subfolders? so I can compare at least :)
Thanks in advance.
ANY HELP will be upvoted very fast.
set_magic_quotes_runtime()
Just get rid of this function call.
Assigning the return value of new by reference is deprecated in
Just get rid of & sign in the statement.
Warning: include_once(PEAR.php):
You have to install PEAR
It appears you have changed PHP versions. Very likely that your Ubuntu 10.10 box was running PHP 5.2.x or PHP 5.3.x and now your Ubuntu 12.04 box is running PHP 5.4.x or PHP 5.5.x (low chance).
You have two real solutions:
Update your code (recommended)
Go in line-by-line and update your code and correct the errors, you should be able to research those errors individually and use http://php.net/ as a resource.
Downgrade your php/mysql version
You can check your old PHP version on the Ubuntu 10.10 box by running the following command in terminal: php -v; then do the same command on your 12.04 box to see what you have upgraded to.
There is plenty of documentation out there for changing PHP versions on Linux, so I empower you to do that research.
You will also want to copy your php.ini configuration over to the new install also--it's very likely you have some ancient configurations by the looks of your magic_quotes errors.
I've been asked to move someone's blog from a Linux server to a Windows 2008 box. I used Xampp on the new box. When I try to access the blog I get the following errors:
Deprecated: Assigning the return value of new by reference is deprecated in C:\xampp\htdocs\newblogBlog\httpdocs\wp-settings.php on line 472
Deprecated: Assigning the return value of new by reference is deprecated in C:\xampp\htdocs\newblogBlog\httpdocs\wp-settings.php on line 487
Deprecated: Assigning the return value of new by reference is deprecated in C:\xampp\htdocs\newblogBlog\httpdocs\wp-settings.php on line 494
Deprecated: Assigning the return value of new by reference is deprecated in C:\xampp\htdocs\newblogBlog\httpdocs\wp-settings.php on line 530
Strict Standards: Declaration of Walker_Page::start_lvl() should be compatible with Walker::start_lvl(&$output) in C:\xampp\htdocs\newblogBlog\httpdocs\wp-includes\classes.php on line 594
Strict Standards: Declaration of Walker_Page::end_lvl() should be compatible with Walker::end_lvl(&$output) in C:\xampp\htdocs\newblogBlog\httpdocs\wp-includes\classes.php on line 594
Strict Standards: Declaration of Walker_Page::start_el() should be compatible with Walker::start_el(&$output) in C:\xampp\htdocs\newblogBlog\httpdocs\wp-includes\classes.php on line 594
Strict Standards: Declaration of Walker_Page::end_el() should be compatible with Walker::end_el(&$output) in C:\xampp\htdocs\newblogBlog\httpdocs\wp-includes\classes.php on line 594
Strict Standards: Declaration of Walker_PageDropdown::start_el() should be compatible with Walker::start_el(&$output) in C:\xampp\htdocs\newblogBlog\httpdocs\wp-includes\classes.php on line 611
Strict Standards: Declaration of Walker_Category::start_lvl() should be compatible with Walker::start_lvl(&$output) in C:\xampp\htdocs\newblogBlog\httpdocs\wp-includes\classes.php on line 705
Strict Standards: Declaration of Walker_Category::end_lvl() should be compatible with Walker::end_lvl(&$output) in C:\xampp\htdocs\newblogBlog\httpdocs\wp-includes\classes.php on line 705
Strict Standards: Declaration of Walker_Category::start_el() should be compatible with Walker::start_el(&$output) in C:\xampp\htdocs\newblogBlog\httpdocs\wp-includes\classes.php on line 705
Strict Standards: Declaration of Walker_Category::end_el() should be compatible with Walker::end_el(&$output) in C:\xampp\htdocs\newblogBlog\httpdocs\wp-includes\classes.php on line 705
Strict Standards: Declaration of Walker_CategoryDropdown::start_el() should be compatible with Walker::start_el(&$output) in C:\xampp\htdocs\newblogBlog\httpdocs\wp-includes\classes.php on line 728
Strict Standards: Redefining already defined constructor for class wpdb in C:\xampp\htdocs\newblogBlog\httpdocs\wp-includes\wp-db.php on line 306
Deprecated: Assigning the return value of new by reference is deprecated in C:\xampp\htdocs\newblogBlog\httpdocs\wp-includes\cache.php on line 103
Strict Standards: Redefining already defined constructor for class WP_Object_Cache in C:\xampp\htdocs\newblogBlog\httpdocs\wp-includes\cache.php on line 425
Deprecated: Assigning the return value of new by reference is deprecated in C:\xampp\htdocs\newblogBlog\httpdocs\wp-includes\query.php on line 21
Deprecated: Assigning the return value of new by reference is deprecated in C:\xampp\htdocs\newblogBlog\httpdocs\wp-includes\theme.php on line 623
Strict Standards: Redefining already defined constructor for class WP_Dependencies in C:\xampp\htdocs\newblogBlog\httpdocs\wp-includes\class.wp-dependencies.php on line 15
Warning: Creating default object from empty value in C:\xampp\htdocs\newblogBlog\httpdocs\wp-includes\update.php on line 39
Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\newblogBlog\httpdocs\wp-includes\class.wp-dependencies.php:15) in C:\xampp\htdocs\newblogBlog\httpdocs\wp-includes\pluggable.php on line 770
Any ideas?
I think your php.ini in your linux server was desactivating errors reporting.
For the strict standards you can hide them by removing E_STRICT from the option error_reporting in you php.ini file (but it may be better to fix them).
for the rest of the issues I do recommand you to fix them, especialy the warnings.
Also check that the PHP version in linux is the same as in windows, migrating from a version to another may result in issues like this.
check the used php-version on the server and on the xammp-box. You can do this with creating a single file that contains the single line
<?php phpinfo(); ?>
This gives you the used versions. If you can use the same versions on old and new system you can get less warnings, perhaps...
And if there are still the warnings, you can filter them out with the right entries in the php.ini.
it is recommended for a productive system to not display errors, someone could use the information to hack your system... you can change the detail level of displaying errors as mentioned by Yazmat, or turn off the displaying of errors in php.ini like this:
display_errors = 0