Magento Connect Manager redirecting to 3rd party site - malicious code? - magento

I have a strange problem with Magento Connect Manager: firstly, if I cliick the "settings" tab, the page redirects to an the 1and1.com.com homepage with an affiliate link suffix (1and1 arent my hosting provider).
Similarly, if I try and uninstall / reinstall any extension on the "extensions" page, the same 1and1.com page appears in the window below the list of extensions (where you would normally see the installation being actioned).
I am also unable to install any new extensions / or uninstall any existing ones. I'm guessing this is the result of some malicious code being inserted somewhere?
does anyone else have any similar experience or any idea how to fix?
Thanks in advance.

Rollback your updated htaccess to default magento htaccess and clear your cache and test again.
OR
In your current htaccess file you may find some urls like
http://www.yourdomain.com/
update them to your website url.

Related

Website error for HTTPS; But website works fine through HTTP

I just installed a SSL certificate on the website and confirmed that it was set-up correctly. But for some reason when visiting the website through HTTPS it gives the error "Not Authorized to View This Page [CFN #0004]". But HTTP works fine.
It's a WordPress website and the htaccess file has not been modified.
What could be the problem?
www.benchmarkadvertising.ca https://benchmarkadvertising.ca/
I've Googled and Googled but cannot find a solution. Called my hosting company, but they're not specialized enough to understand the issue.
First off check this may be a plugin or theme conflict. Please attempt to disable all plugins, and use one of the default (Twenty*) themes. If the problem goes away, enable them one by one to identify the source of your troubles.
If you can install plugins, install “Health Check”: https://wordpress.org/plugins/health-check/ On the troubleshooting tab, you can click the button to disable all plugins and change the theme for you, while you’re still logged in, without affecting normal visitors to your site.

The requested page can't be found

I'm a new beginner to Joomla. I'm trying to build a website with a sub domain of joomla (free sub domain). After successfully setting up and installing the database plus other components according to several beginners' tutorials, where I successfully upload several templates, I try to test the link of my website but all I get is this error message:
The requested page can't be found.
An error has occurred while processing your request.
You may not be able to visit this page because of:
an out-of-date bookmark/favourite
a mistyped address
a search engine that has an out-of-date listing for this site
you have no access to this page
Search
You may wish to search the site or visit the home page.
Search ...
Search ...
Home Page
If difficulties persist, please contact the System Administrator of this site and report the error below.
404 Article not found
How can I really go about solving this issue because after intensive research I have found out that this error message is very common for beginners when it comes to Joomla.
Some Suggestions:
SEF URLS
Try using a non-SEF URL to access an article to see if that works.
For example, check in Content -> Articles for a valid published article ID (the article IDs are in the last column at the right hand side of the page) and access the page using a URL like this:
http://[your-domain-name].com/index.php?option=com_content&view=article&id=xx
where xx is the article ID.
If this works, then your problem has something to do with SEF URLs or URL Rewriting.
You can temporarily disable SEF URLs and URL Rewriting in the Global Configuration.
.htaccess
A badly configured .htaccess file could cause this issue.
Assuming the .htaccess file exists in the root folder of your website (e.g. in the /public_html folder) then try copying .htaccess to .htaccess.old as a backup and reset the .htaccess file to the default settings by copying htaccess.txt to .htaccess.
htaccess.txt should also be found in the root folder of your website as part of a normal Joomla install.
Test whether this fixes the issue.
Third Party Extensions
Try disabling any SEF related third party extensions.

Joomla : social engineering content detected

Google is saying I have a social engineering content in my joomla 3 web site. This is the URL
plombier-chauffagistes[DOT]fr/ppp/79629b8a3ff4b34eb8db788c68d680ce/login.php?cmd=_login-run&dispatch=5885d80a13c0db1f1ff80d546411d7f8a8350c132bc41e0934cfc023d4e8f9e5
You can try to open this URL in google chrome : it will display an error :(
I can't fix the problem : the "ppp" folder does not exists, I made some rewrite rules in .htaccess, I also tried to delete .htaccess, but the problem still remains.
The first thing that you need to do when this thing happens is check the .htaccess file, which is most likely hacked.
The second thing would be to just overwrite your core Joomla files from those from a fresh Joomla install.
If you still have the problem, please post back here.

Magento not using appropriate URL - 404 Page not found

I have a magento site running locally using WAMP and it works great. However I need to create a different site so I created a folder for this new site under htdocs.
In that folder I loaded the Magento files.
Created a new database for newsite with all rights in phpmyadmin.
Went to the localhost:8888/newsite and started Magento installation wizard.
In the configuration section of the wizard I entered all the info required: db name, user, password. For URL Base I used the default (http://localhost:8888/newsite). Selected allow charts and Allow apache rewrites. Finished installing magento.
Now magento is running on newsite. I can see the front and back-end of the site.
Here is the problem: When I create a category and/or subcategory, magento does create the menu link but when I click any category, the browser takes me to a 404 not found. Upon analyzing the URL that took me there i see that the URL is : http://localhost:8888/newsite/category.html BUT by adding "index.php" into the URL (http://localhost:8888/newsite/index.php/category.html , the page does work!
So this means magento IS creating the page for the category but the linking is somewhat wrong.
Now, I've been making sure that rewrite is enabled and after all, the other site I mentioned I have is working properly, so I assume rewrite is properly enabled.
So I need help finding:
Why is one site working and the other isn't?
How can I fix this issue?
Thank you!
Sounds like you haven't copied over the .htaccess file (in your Magento root folder). You need this file for the Apache rewrites to work.

Moved Joomla 1.7 Site to New Server. Admin works fine. No pages display

I've just moved a Joomla 1.7 site to a new server.
Administration back-end works fine. Configuration.php seems fine. Get "The requested document was not found on this server." for every page other than Home.
Must be talking to the database OK or I'd get an error. Could this be a problem with the PHP?
Thanks,
Andy
Did you clear joomla cache ?
Disable page and/or module caching.
Disable any plugin that optimizes "loading speed".
Try removing SEF URLs (Joomla! and any 3rd party extension).
If you are using a custom .htacess, then use an unmodified joomla one.
Disable some system plugins.
Disable modules in the homepage.
Have you tried using another template (site) ?
You have Seach Engine Friendly URLs enabled in /administrator/ area's global configuration settings. You have probably enabled the option to use the mod_rewrite function which removes the /index.php/ portion of the urls.
It is a requirement of this mode that you have the .htaccess file in place in the root of your site. You probably had this correctly configured on your development server but perhaps forgot to move the file across when you went live. Some FTP programs hide dot files (files starting with a leading dot in the filename) so depending upon how you transferred the files (I'm guessing manually with FTP rather than Akeeba backup or similar) the file may have been missed. Look through your FTP client's options/preferences for an option to show/hide hidden files.
Failing this - the file could be correctly in place - but if you were developing in a sub-folder on your development server you would have set the RewriteBase line to your /sub-folder/
RewriteBase /sub-folder/
Now you've moved to the live server this line could be incorrect. If this is the case, edit the file to Read
RewriteBase /
Chances are it is one or other of these issues - missing .htaccess file or incorrect RewriteBase. A third and nowadays somewhat more unlikely option is that your server doesn't have mod_rewrite enabled - but I think that would result in server 500 errors.
Check whether you are using any modules that is calling database and you have not changed DB details in that module after migration. If admin panel is working fine then I think problem with some modules that are used in front-end. You can do debugging by disabling few suspected modules and check whether your site works fine or not. Else provide some more information about your site so that I can check further.

Resources