Godaddy Hosted Website Attacked – PHP Files In Directories

We have a static HTML site built in 2013 that we maintain. We got a notification from Godaddy that there were malicious files in the website. I started to remove them, but wanted to see what was in them. When I opened one of the files that was 3 level into the website it was extremely complicated. It looks like part of many arrays and just pulling parts of multiple arrays. I believe the end goal is to assemble the final script. It looks like this.

Another interesting thing about this attack is the date of the file. It is from 2013. I had made a complete back of the site on 2/15/2016, but the bad files were from 2013. None of the bad files were in my back in 2016.

Nothing was solved. I removed the old files and updated the .htaccess file. I found it interesting how the date could be manipulated.

I hope this helps someone one else out there….

 

How To Create A Parallax Effect in Gantry

This actually isn’t just for Ganty. It just involves a little CSS. I needed it for a section in a Gantry template, but you can use this anywhere.

I got this set up from good old W3Schools so you know it is solid.

https://www.w3schools.com/howto/tryit.asp?filename=tryhow_css_parallax

It is really just locking down the position of the background image and setting it to cover. I didn’t have to specify the height of the div in my case.

I hope this helps someone else out there…

 

Solved – 500 Fabrik has generated an incorrect query for the list

I moved a Joomla 3.7.2 site that has a Fabrik application in it to a new host, and when I did I got the “500 Fabrik has generated an incorrect query for the list…” error.

I made sure the connection was good. The issue turned out to be the “List” was locked.

Another time I go this issue was due to my database connection. I moved the site to a new location but didn’t update the Fabrik “Connection”.

I hope this helps someone else out there…

Joomla 3.7.2 – Fabrik Install – Strict standards: Declaration of FabTable::getFields() should be compatible with JTable::getFields($reload = false) in C:\wamp\www\grimeymedia\administrator\components\com_fabrik\tables\fabtable.php on line 119

Wanted to play around in Fabrik again but got this error when trying to install.

Strict standards: Declaration of FabTable::getFields() should be compatible with JTable::getFields($reload = false) in C:\wamp\www\grimeymedia\administrator\components\com_fabrik\tables\fabtable.php on line 119

I had to uninstall the 2o some plugins that some with this component.

 

http://fabrikar.com/forums/index.php?threads/after-updating-to-joomla-3-7-0-fabrik-breaks-admin.46622/

I downloaded the master .zip file from Git Hub.

https://github.com/Fabrik/fabrik

This didn’t install well. Missing XML file error.

I finally just used the Joomla Web Installer. It installed version 3.6 of Fabrik and worked well with my Joomla 3.7.2 core package.

I hope this helps someone else out there…

 

 

 

Contact Form 7 – email not coming from your server configuration error

Had a customer with a configuration issue with the WordPress site.

The original developer had the end users email as the return email address. Contact Form 7 prefer keeping this email address on the same domain, and adding a “Reply to” in the additional headers area. The following link solved this issue for me.

FAQ about Configuration Validator

Which lead me to here.

Setting Up Mail

I hope this helps someone else out there…

 

 

Hide or Remove Video Play Button on IPhone or Safari

Finished a site that has a video in the background. Looked great everywhere I viewed it; however, the client has an iPhone and the play button shows even when the video isn’t suppose to show.

This link helped me solve it.

http://stackoverflow.com/questions/8911247/hide-iphone-html5-video-play-button


*::-webkit-media-controls-start-playback-button {
  display: none!important;
  -webkit-appearance: none;
}

I hope this helps someone else out there…

Joomla – The MySQL server is running with the –read-only option so it cannot execute this statement SQL=DELETE FROM `#__session` WHERE `time` < '1479401841'

After deleting the website in fear it was attacked I discovered this article about simply deleting and adding back the sessions database.

http://serversideguy.com/2011/08/29/how-do-i-fix-a-corrupt-joomla-jos_session-table/

This may have been my fix. If I have time I will try to restore what I have, see if I get the same error, and see if this fix helps.

I hope this helps someone else out there…

 

 

Akeeba Backup In Joomla 3.6.2 To 3.6.4 – ERROR: The archive file is corrupt, truncated or archive parts are missing

I was struggling with this issue of upgrading a 3.6.2 site on a WAMP / localhost install. I would select to upgrade, Akeeba backup ran, the upgrade would crash with percent done as “NAN” or “not a number”.

joomla_3_6_4_akeeba_fail

The fix was the “tmp” path and manually install patch. For a localhost install the path needs to have both “\” for the local part and “/” for the server part of my machines environment.

joomla_3_6_4_path_fix_log

joomla_3_6_4_path_fix_tmp

I wasted hours on this. I should have checked another localhost install sooner.

The other part was to go into Components >> Joomla! update >> and this time do a manual “Upload & Update” process. You will need to download the 3.X to 3.6.4 upgrade and install this.

Before I could upload the package I was warned about two PHP.ini settings of post_max_size and upload_max_filesize had to be the same. I set them both to 128m.

Before I ran the update I removed Akeeba so it wouldn’t run another backup before the upgrade, but I learned when I went into Extensions and Manage that I could just select and choose “disable”.

I really hope this helps someone else out there…

 

 

[Solved] – Adding An Administrator To WordPress Using PHPMyAdmin

We host a multi-site website for a customer an one section was pulling the data from a WordPress install. There wasn’t any documentation on the WordPress install so I couldn’t log into the site.

This article helped me out. Gotta love InMotion hosting.

http://www.inmotionhosting.com/support/edu/wordpress/333-add-admin-via-mysql

I hope this helps someone else out there…