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….

 

Divi – Turn Off Lazy Load On Images

Started a new project with Divi and needed lazy load to not happen on the home page. Looking around I found the following page which got me started.

https://jeffbristow.com/technology/2015/10/28/divi-lazy-loading-images

What I needed to do is go to “wp-content\themes\Divi\includes\builder\scripts\frontend-builder-scripts.js”. On line 3375 I needed to change “Offeset: ‘75%'” to “offset: ‘400%'”.

I hope this helps someone 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…

 

 

 

WordPress Change Author Name On Blog Posts

I started a blog at work and have other staff contributing. I noticed my display name was my login name. Not really what I wanted. I started by putting in my first and last name like the other contributor did, but it was still my login name as the post author.

The following link lead me to switching the author on the post.

https://www.siteground.com/kb/how_to_change_the_author_of_a_post_in_wordpress/

The option to change author wasn’t present, so I went up top of the screen and selected “screen options”.   “Author” was unchecked. Once checked I could see below where I could switch the author; however, it was still my login name.  The next link got me my final answer.

http://www.wpbeginner.com/beginners-guide/how-to-add-or-change-your-full-name-in-wordpress/

In my actual profile I had to go down to “Display name”. In the dropdown I was able to select the name I wanted with the posts.

I hope this helps someone else out there…