PHP Version?

More
10 years 10 months ago - 10 years 10 months ago #32018 by wintercorn
PHP Version? was created by wintercorn
Is MaximenuCK dependent on a particular PHP version?

I ask because we have a site on our PHP5.4 dev server which is broken on the clients PHP5.5 server - and that's about the only difference between the two.

Dev : removed

Live : removed

Live site is an exact copy from the dev site.

Any ideas?

Thanks
Last edit: 10 years 10 months ago by wintercorn. Reason: Removed urls as no longer relevant.

Please Log in or Create an account to join the conversation.

More
10 years 10 months ago #32019 by ced1870
Replied by ced1870 on topic PHP Version?
Hi

Is MaximenuCK dependent on a particular PHP version?

not from what I know

look at the source code, on the dev website

<nav>
<div class="container">
<div class="row">
<div class="col-md-12" id="topnav">

<div class="">


on the dev website

<nav>
<div class="container">
<div class="row">
<div class="col-md-12" id="topnav">

<?php/*<div class="visible-sm visible-xs"></div>*/?>
<div class="">


this is outside the menu. Then it renders

<div class="row">
<div id="topnav" class="col-md-12"> </div>
*/?>
<div class="">

you can see that the #topnav is closed and the menu is no more inside, but in your topmenu.css you are targeting #topnav to set the items color and styles
CEd

Joomlack Webmaster and Developer

Please Log in or Create an account to join the conversation.

More
10 years 10 months ago #32024 by wintercorn
Replied by wintercorn on topic PHP Version?
How is that possible as the live site is simply an Akeeba backup of the dev site. What would change your menu module like that?

Please Log in or Create an account to join the conversation.

More
10 years 10 months ago #32026 by ced1870
Replied by ced1870 on topic PHP Version?
as explained the line of code which is a problem is

<?php/*<div class="visible-sm visible-xs"></div>*/?>


this is not in the module. You must check into your template and remove this line.
I don't know how this is possible, I just try to explain you the problem and that the module is not in cause for this :)

Joomlack Webmaster and Developer

Please Log in or Create an account to join the conversation.

More
10 years 10 months ago #32037 by wintercorn
Replied by wintercorn on topic PHP Version?
I've removed the added code and made some css changes and it's fine. It's very odd that it should change from one site to another, but that's a mystery for tomorrow.

Thanks for your help.

;)

Please Log in or Create an account to join the conversation.

More
10 years 10 months ago #32038 by ced1870
Replied by ced1870 on topic PHP Version?
ok cool :)

Joomlack Webmaster and Developer

Please Log in or Create an account to join the conversation.

Time to create page: 0.214 seconds

Fast and powerful creation, customizable and responsive.

Read More

We have 1120 guests and one member online