1
vote
1answer
480 views

Wordpress 500 Internal server error when activating custom theme [closed]

Whenever I try to activate my custom built theme on the clients server, the website returns a '500 - Internal Server Error'. The theme is working fine on my local machine, MAMP on my mac. I dont ...
0
votes
3answers
72 views

Trying to display ads on only a third of posts in a loop. Keep getting Error 500?

I'm thinking it's just a PHP code error, but for some reason the following code won't work, it just keeps giving me Internal Server Error 500 <?php $ajfl_adLuck = rand(1,3); if ($ajfl_adLuck ...