Shape 5

Joomla Templates => Zoka Transports - Club => : augustkrys March 02, 2015, 09:50:03 AM



: Joomla 3.4.0 CSS fix for Global Configuration page
: augustkrys March 02, 2015, 09:50:03 AM
After an install of a site sharper Zonka Current and then a direct update to 3.4.0 - All looked good except missing the css in Global configuration.  Applied the fix before and all is well.

Joomla 3.4.0 CSS fix for Global Configuration page...
Post Number:#1  Postby MOB ? Sun Mar 01, 2015 9:01 am

 !    MOB wrote:
NOTE: I had to provide the fix here in this forum, because the Joomla support forum has censored the word driver and it's replaced with the word [drive] whenever it is posted in normal text, in quotes, or in code brackets.

The issue with this is that I cannot successfully share the fix below, since both the file directory and the code has the word driver. Which of course would cause havoc if a person would use the provided code when some of the code words are being censored and/or replaced with another word.


When updating Joomla from version 3.3.x to 3.4.0 using the built-in updater in your Joomla Control Panel.

If you find your Global Configuration page look like this (see attachment) -- seems like the CSS is not getting fetched (missing) for this page's layout.


HOW TO FIX:
Source: https://github.com/mbabker/joomla-cms/c ... 818c99e4c2

NOTE: you may use Notepad or preferably NOTEPAD++ to edit the PHP file below.

OPEN: libraries/joomla/database/driver/pdomysql.php

FIND: around line: 102
CODE: SELECT ALL
   return in_array('mysql', PDO::getAvailableDrivers());


REPLACE WITH:
CODE: SELECT ALL
   return class_exists('PDO') && in_array('mysql', PDO::getAvailableDrivers());


CLOSE/SAVE.


: Re: Joomla 3.4.0 CSS fix for Global Configuration page
: mikenicoll March 02, 2015, 06:14:15 PM
Hello,

Thanks for posting your fix!