Converted Website Into Theme - Does not work in IE

Permalink
Hi everyone,

I converted a website into C5.5.2.

It works in Firefox and Chrome, but the layout is all messed up in any version of Internet Explorer.

Here is a link:

http://www.mbca-toronto.org

I have another version of this website on another server without concrete5 and it works fine in IE. Here is the link:

http://www.puremb.com/mbca

Please let me know what's happening

Thanks!

 
PineCreativeLabs replied on at Permalink Reply
PineCreativeLabs
I will take a look at this later this evening and get back to you.
discoduck replied on at Permalink Reply
Thanks a bunch :)
barco57 replied on at Permalink Reply
barco57
You do not have a doc type declared and that is forcing IE into quirks mode.....causing it to ignore the margin:auto for left and right...
discoduck replied on at Permalink Reply
Thanks! That did it.

Not sure if this is related but if you click on other sections, I get this error in black square box where the slideshow of images is supposed to be:

Fatal error: func_get_args(): Can't be used as a function parameter in /home2/mbcatoro/public_html/updates/concrete5.5.2/concrete/libraries/item_list.php on line 51
PineCreativeLabs replied on at Permalink Reply
PineCreativeLabs
What barco57 mentioned is correct. I'm not sure about the fatal error, though.
ConcreteOwl replied on at Permalink Reply
ConcreteOwl
Check your error code again,
The get_args function is on line 514 (approx)
Please recreate and post the error code again
ConcreteOwl replied on at Permalink Reply
ConcreteOwl
If your concrete/libraries/item_list.php line 514 looks like this
*****************
public function sortByMultiple() {
$this->sortByString = implode(', ', func_get_args());
}
}
*****************
Then change it to this
****************
public function sortByMultiple() {
$args = func_get_args();
$this->sortByString = implode(', ', $args);
}
}
******************
This is a known bug in 5.5.2
discoduck replied on at Permalink Reply
Hi

thanks for the reply.

My item_list.php looks like this:


public function sortByMultiple() {
$args = func_get_args();
for ($i = 0; $i < count($args); $i++) {
$this->sortByString .= $args[$i];
if (($i + 1) < count($args)) {
$this->sortByString .= ', ';
}
discoduck replied on at Permalink Reply
Nevermind, got it to work. I updated the wrong item_list.php.

The file I updated was in:

/updates/concrete5.5.2/concrete/libraries/item_list.php
discoduck replied on at Permalink Reply
Thanks for all the help everyone!
ConcreteOwl replied on at Permalink Reply
ConcreteOwl
It would be great if you could choose my post as an answer to your problem..
Thanks
Weyboat..
jordanlev replied on at Permalink Reply
jordanlev
Hi weyboat,
Note that your post did not solve his problem because you pointed to the wrong file. Might I suggest you edit your response so it points out that you need to first look for a "/updates/concrete5.2.2/" directory on your server first, and only if that doesn't exist then you look in the top-level "/concrete/" directory?