Wednesday, October 17, 2018

ÿØÿà in a PHP file

Early Joomla 1.5 site that had it’s tiny MCE compromised. There were PHP files in the image directory, and a few in the root of the website. One was named “wthm1035g.php” and inside was “ÿØÿà”. I have no idea what it is exactly. If someone knows comment.

Blocking Semalt.com from your Analytics – partly

I am starting my research on eliminating “semalt.com” from an Analytics report. One person suggests putting the following in your .htaccess file.

# block visits from semalt.com
RewriteEngine on
RewriteCond %{HTTP_REFERER} semalt\.com [NC]
RewriteRule .* – [F]

I haven’t tried this yet but I plan on it. The following is a link I started to use. I am sure there will be more to follow.

https://productforums.google.com/forum/#!searchin/webmasters/remove$20semalt/webmasters/VdmF4xDYnDE/aP93-oRwMIQJ

UPDATE:

I went to Semalt and registered some sites through their tool. I will try to update with the how it worked out.

http://semalt.com/project_crawler.php

I hope this helps someone out there…

Joomla 1.5 jUpgrade – zip file not found

I recently ran into this issue when trying to upgrade a Joomla 1.5.23 site to 3.3. Here are the steps I took.

  1. Installed a local version of the site.
  2. Installed jupgrade
  3. Installed Admin tools
  4. Enabled MOOTools.

When I ran jupgrade it would download Joomla 2.5. At the end of decompressing the files there would be an error of “unable to find zip”. I used AdminTools and set the permissions of the tmp folder to 777 temporary. Ran jupgrade and everything worked perfectly.

For more info on how to upgrade your Joomla 1.5 to 2.5 successfully I have posted more details here.

http://blog.grimeymedia.com/jupgrade-migrating-undefined/

and

http://blog.grimeymedia.com/migrating-joomla-1-5-to-2-5/

And this article was a help.

http://wiki.redcomponent.com/index.php?title=jUpgrade:The_migration_process

 

WordPress site attacked

A customers WordPress site is displaying ads again.

 

wordpress_attack_jan_15_2015

Don’t have all the information, but there were links to www.superfish.com. This site turns out be some visual recognition software.

Here is some of the code in the page that I believe is linked to the attack.

 

<iframe src=”http://www.superfish.com/ws/userData.jsp?dlsource=wjfudcm&amp;userid=NTBCNTBC&amp;ver=2015.1.15.13.57″ style=”position: absolute; top: -100px; left: -100px; z-index: -10; border: medium none; visibility: hidden; width: 1px; height: 1px;”></iframe>

The code for the box was just above the ending body tag. Below is some of the code that was found.

<div id=”similarproducts_side_slider class=”__similarproducts similarproducts_side_slider false style=”right: 0px;>
<div class=”side_slider_header>
<div class=”header_tongue>
<div class=”vertical_text>Deals</div><div class=”offers_count></div><div class=”unit_title>Special Deals</div>
<div class=”x _close_unit></div>
<div class=”collapse _collapse></div>
<div class=”expand _expand></div>

Will try to post more info if I can.

Moving WordPress site to new host – importing mysql database 1044 access denied

Recently moved a site from Network Solutions to GoDaddy. I created a blank database. Created a new user and associated that user with the new database, but when importing the MySQL database I got an error.

I needed to comment out the creating of the database. This article helped me figure it out.

http://www.inmotionhosting.com/support/website/database-troubleshooting/mysql-1044-access-denied-error-message

I hope this helps someone else out there…

Preview your godaddy website before a domain transfer

We often build a clients site on a hosting account where the domain  name hasn’t been transferred or the DNS has been pointed to the new hosting. A common way to solve this issue is to modify your host file on your local machine.

Depending on your Operating System will determine where your local host file will be. Open the file in a common text editor like notepad. The following link helped my find my host file.

http://www.inmotionhosting.com/support/website/how-to/modifying-your-hosts-file

Add a line so there is no “#” before your next entry. Add the IP address and the fully qualified domain name.

host_file

To get the IP of your new host it can often be found in the CPanel. In Godaddy it is currently on the left side, down at the bottom under server information.

host_file_server_settings

After you save the host file you will be able to use a browser and go to the domain name and you will get to the new hosting to preview your site. You may need to wait a few minutes. You may need to clear your cashe or hit refresh.

I hope this helps someone else out there….

 

Outlook / Godaddy email account receiving but not sending

Set up two new Godaddy hosted email accounts. Then when setting up their Outlook with the godaddy email account testing the account failed. Wouldn’t send. Keep asking for the password to the SMTP server. I changed ports and and connection types but no luck.

I was able to set up the first account but not the second. Everything was the same. I finally reset the password for the second account to be the same password it was when I first set it up and suddenly it all worked.

I hope this helps someone else.

Solved – Windows could not start becuse the following file is missing or corrupt. System

We had a client with an old XP machine that wouldn’t start. It gave the error about the “System” file. I was able to use Bart PE, go into the restore directory and replace the corrupt files with the last restore and get the machine to work again. I used the following tutorial.

http://www.tomjepson.co.uk/fix-missingcorrupt-system-file-in-windows-xp-without-recovery-cd

I hope this helps someone else out there.