Showing posts with label php configuration. Show all posts
Showing posts with label php configuration. Show all posts

Tuesday, August 4, 2009

OpenX Javascript or CSS not loading

The get.max_value_length value of your web server settings does not allow to use long URL paths. This might lead to JavaScript and CSS files not properly being included.  To fix this you have 2 options:

  1. Modify your config setting for OpenX to disable combining/compressing CSS/JS files (this only effects the admin panel).



    [ui]combineAssets=0
  2. Modify php.ini to extend the length of your GET variable values.  The default setting for PHP 5.3 is 512.


How to find the locaion of php.ini

To find the location of your php.ini file, copy and paste the below code into a php file and upload it to your server.

<?php
phpinfo();
?>

When you access the file it will look like the below image. The red arrow is pointing to the location of your php.ini file. In Linux environments this is the most common location.