issue with wordpress Fatal error: Cannot redeclare frm_dl - php

I got this issue with my website using wordpress
I don't know what's the issue, could someone help us out please.
Fatal error: Cannot redeclare frm_dl() (

You seem to have duplicate function definitions of the function rm_dl() in wp-settings.php. Please review that file so there is only one definition.
It is also not a good idea to post links to your website and ask "please have a look". Much better and easier for us to help if you post the specific error together with the affected files (without passwords of course!).
If there is nothing wrong with your file the error is most likely caused by some newly installed or updated theme or plugin. In worst case it's some automated hack. In both cases you should reverse to a working backup and make sure you update carefully any plugins and base installations with security updates.

This issue is by cause of virus. It is one type of script when this run this create code in each php file like followuing.
.
the solution is that download your live project file and remove this code and upload again all file on live.
you can replace all that code one time replace all with blank cursor only.
Shiv

Related

Wordpress - PHP Fatal error: Interface 'Requests_Hooker' not found?

i am not able to access my wordpress frontend. After uploading the 'understrap' theme my backend and frontend throw an http 500 exception.
In order to debug the issue, i've set 'WP_DEBUG' to 'true' and receive the following exception:
PHP Fatal error: Interface 'Requests_Hooker' not found in /var/www/html/wp-includes/Requests/Hooks.php on line 15
Next, i've overwrite the complete "wp-includes" folder with an initial "wp-includes" from a new wordpess and now am able to access my backend again. Unfortunately, my frontend is still empty and in wp-content/debug.log is still the same exception.
Plugins, Themes and Uploads are not affecting the issue - that is sure (the first thing i did is to remove the uploaded theme - understrap).
Wp-uploads folder has been completely initialized.
Does anyone had this issue before and might know how to fix it? Any advice is highly appreciated.
I know this is an old request, but in case others have this issue, I found a solution today. It looks like someone deleted or renamed "Hooker.php" in "webroot/wp-includes/Requests". If you are able, I would recommend restoring a previous version of that file using whatever kind of control panel you are using to administrate your site.

My PHP page refer to Error:Missing controller

I´m new in PHP and creating dynamic webpages and after I installed Apache and my PHP IDE(codelobster) I face a serious problem.I really don´t know what I´m doing wrong but when I create new PHP project and I try to open it via my browser through localhost/...it always return me back a error page with this description:
Error:Missing controller
Cake\Routing\Exception\MissingControllerException
My php file is called oneironaut.php so it gives me also:
Oneironaut.phpController could not be found.
In the case you tried to access a plugin controller make sure you added it to your composer file or you use the autoload option for the plugin.
Error: Create the class Oneironaut.phpController below in file:
src\Controller\Oneironaut.phpController.php
I tried to create different projects like with different names and there was always this bug diference only with name of my .php webpage.So I think this must be some system error and something in my xampp/php or Apache settings must change.Maybe there could be some connection with my unfunctional debugger , I tried to download Xdebug from https://xdebug.org/wizard.php and even though I follow instructions on this website and another websites too I can´t successfully get xdebug extensions into my computer.So in this some help will be highly appreciated too.
So give me someone please help what to do with these problems? Thank You so much.
This seems to be happening because the server is loading files in "case-sensitive" mode.
You call your PHP file "oneironaut.php", however, the page is looking for "Oneironaut.php"
A similar question has been answered here, please try:
Missing Controller Error on remote server using Beta 3

Wordpress displaying old PHP errors

I have a WooCommerce website that has been created by other party. When I was editing a template file and checking a minor change, a PHP error appeared on top of the page (literally the first line in the document, above )
[12-Jun-2017 19:08:58 UTC] PHP Fatal error: Call to undefined function add_action() in /home/SITENAME/public_html/wp-content/themes/booklovers/widgets/top10.php on line 8
I do know what it means, but it appears that the error itself is not the issue. The time does not change, it constantly displays 19:08:58. I've also tried renaming/moving the file to see what happens - and nothing happens at all. It is being executed, because the page results with a white screen when I put exit; in it. Renaming made no difference. Checking this path by file_exists() called in index results with false. In my opinion it has something to do with Wordpress, because if I put exit; on top of the index.php the page is totally blank, without error, so it is not being merged with the response by Apache or something. Also setting the error reporting in index/config has no effect (I realize that this is generally a bad idea, and would not leave production with a workaround like this).
My guess is that the error might be some kind of a cached artifact. But this WooCommerce has no cache plugins installed so far... I have only a minor experience with Wordpress, I do know the basics, but debugging this type of issues is a terrible pain. I would appreciate any tips suggesting where should I look.
Additional information worth mentioning: shared hosting on GoDaddy (not my choice...), php 5.6.
Resolved. A theme's error_log file was being prepended to the response.

Copied Joomla 1.5.12 across to new host server. Front End OK. Admin fails

I've been fishing through answers to similar problems, but none seem to address the issue we currently have. To sum up what has occurred this far:
Client has a website running joomla v1.5.12 (yeah, we know it's old...)
Site was very slow so upgraded hosting package to higher specs.
Took an FTP backup of the original site beforehand and then copied it accross.
Site works on the front end as normal. Sends emails and is both cosmetically and visually sound.
However, admin pages keep showing errors in the same vein as the following:
JFolder::folder: Path is not a folder
and
Warning: Invalid argument supplied for foreach() in \\**servername**\Domains\e\sitename.com-XXXnumbersXXX\user\htdocs\libraries\joomla\language\language.php on line 712
The errors keep popping up throughout portions of the admin side of things. Trying to add or edit any new articles results in a blank screen. Editing other modules results in the above foreach() errors. The foreach() functions are being passed filepaths, but I can't figure out their values (I'm not much of a PHP dev).
Why would the front end work without any problems and only the backend areas have an issue?
Any ideas of how I should go about troubleshooting this?
Many thanks in advance,
D
Whenever I have issues with a new Joomla install I check the following things:
Are file paths set correctly?
Are the file permissions correct?
Are the tmp and log folders writable?
Is the .htaccess file set correctly?
You can find the answers to the first three at the following location:
Joomla Admin Panel > Help > System Info
Hope that helps

search URL in not working on live

Iam developing a cart using opencart and I followed
SEO SEARCH URLS
for changing the result URL from top search form.And it worked perfectly on my localhost.But after I uploaded those files to live ,it is not working even it throughs me a error like
Fatal error: Cannot redeclare ControllerProductSearch::ajax() in /home/myopencart/public_html/vqmod/vqcache/vq2-catalog_controller_product_search.php on line 744.
Can anyone suggest me to get rid of this.
I'm assuming in ControllerProductSearch you have more then one function called ajax.
There might be a couple of different files called vq2-catalog_controller_product_search.php and the new site may be picking up a different version then what is intended because of differences in include paths. That may explain why it is working in one environment and not the other.
I noticed two that it is being pulled from a vqcache directory, could vqmod need a cache refresh.
To refresh the cache you simply delete the /vqmod/mods.cache file

Categories