When installing SavSoftQuiz, you might get a white, blank error page. That’s because the installation documents and instructions are missing a critical component to the installation.
To fix the blank, white page, do the following:
Go to /application/config/config.php and scroll down to around line 477 and look for:
$config[‘sess_save_path’] = ‘null’;
and change it to
$config[‘sess_save_path’] = ‘public_html/quiz/application/cache’;
Important Note: my installation is in http://www.MYDOMAIN.com/quiz so if your installation is in a different folder, change the red quiz folder above to the correct one you’re using. Or if it’s in the root, remove ‘quiz/’ completely.
Save the changes and the installation should go perfectly.
I really hope they fix their documentation page.
Quick post. The Avada theme is quite possibly the slowest theme I’ve used in a long, long time. I mean sloooow. I cannot recommend this all-in-one theme to anyone after using it for the past 6 months. Continue reading “Avada Theme and Performance is Really Slow! And Forget SEO!”
A client running WordPress received a Manual Action warning from Google about their site being hacked with injected URLS. The page mentioned on Webmaster Tools was http://domain.com/latest-casino-bonuses. The page was iframing a casino website which was making them look bad on Google. Here’s the way to remove the offending pages. Continue reading “How to Fix the WordPress Casino Hack”
I wanted to back up my Cpanel accounts to Amazon S3 using WHM.
Unfortunately, WHM doesn’t do this by default. I found some paid solutions, but then I stumbled on Andy’s fantastic tutorial here…
There’s some minor changes you need to make. If you’re running CentOS 6 on WiredTree, you’ll need to change the Repo to:
That’s about it. The setup was very easy and it’s highly recommended.
Restoring a site using this method is quick and painless in case of disaster. You just SSH back into the server and enter this command:
s3cmd -r get s3://yourbucketname/2011-02-32/filename.gz restore
Trying to force a backup to run in WHM? You need to Putty/SSH into your server as the ROOT user and run the following command:
For newer VPS servers using the latest backup:
For older VPS servers using Legacy backup:
That’s all that’s needed. The script will fire off and create backups.
Want to add a link to the ZenDesk Main Menu? Of course you do. And the righteous buddha bastards don’t make it easy. So here’s how it’s done.
Continue reading “Add or Change Main Menu Link in ZenDesk”
Got tons of Xenforo spam? So did I. Xenforo doesn’t have a way to delete users in bulk, so you’ll need to do some MySQL work on your database using PHPMyAdmin. Here we go. Continue reading “How to Mass Bulk Delete XenForo Spam Users”
Can’t upload files using manager? Maybe you can’t change the configuration.php file or Global Configuration in the backed. If this is happening to you, permissions may be to blame. If you’ve CHMOD’d everything correctly and you’re still getting trouble, then you may have Group permission problems.
This happened to me on LiquidWeb. Basically, I was moving my site and FTP’ing Joomla files from another server but LiquidWeb was not assigning the “nobody” group to them. This made my Joomla Administrator backend untouchable. Below is the way to fix it. Continue reading “Getting Joomla Permissions to Work on a Dedicated or VPS Server (LiquidWeb)”
If you’re changing the internal structure of your website or simply putting up a new site with different pages (i.e. oldpage.html is becoming newpage.asp), then IIS can redirect the old pages to the new one on a page-by-page basis. And it will do it correctly using a 301 Response so search engines will update their records accordingly without penalizing you.
Instructions to Redirect Single Pages in IIS
- Open up IIS on the server
- Open up the Website on the left pane
- Right Click the page you want to change on the right pane and select Properties
- Select “A Redirection to a URL”
- Check “The exact URL entered above” and “A permanent redirection to this resource”.
- Enter the full URL to the new website page (i.e. http://www.example.com/page.asp)
- Press OK. You’re done.
- Test the page. You may have to restart IIS or the website for changes to take effect.
The code below saved me hours. It lets you insert all the US states under a Parent category. This works with 3.2.0. Explanations of what you need to change are below.
- If you’re inserting a sub-category, the parent-category-url needs to be the URL Title of the Parent Category. (i.e. parent is web-hosting, then it will be ‘web-hosting/alaska/’). If this is top level, then delete all instances of ‘parent-category-url/’ leaving it as ‘alaska/’.
- Description is self-explanatory.
- 999 will be the Parent_id. Replace yours as needed. If it’s Top level, this should be 0
- Don’t Touch the 2! That means it’s active.
- Last thing. VERY IMPORTANT. Did you notice I started with 3 in the first parentheses? Then it increments afterward. That’s because I had 2 categories already created in the database. If you have 5 categories already listed, you need to start from 6! If you have none, start from 1. That’s about the only tedious work you’ll need to do. Sorry….but no way around it.
The rest of the zeros should be modded by hand if you are tweaking seo on a category-by-category basis.
FYI….a free text editor like EditPad Lite does wonders for quick Find and Replace stuff like this.
Good luck. Code is below for MySQL. Continue reading “How to Insert Bulk States and Sub-Categories in PHP Link Directory”