views:

16

answers:

1

Hello, sorry if this question is vague, but I dont know ehere the problem is.

I just had to migrate to a new server a big, crappy website from a client, that was developed by a different company and I have almost no documentation.

The website is based on PHP, Mysql, and a TPL engine (the one from phpbb). I made sure to install the same versions of Debian, Apache, Mysql, and PHP and to copy (carefully) all configuration files.

At first it seemed to work perfectly, but then I noticed that a lot of pages that share the same TPLs were not displaying data.

For exampl, this one template does not execute anything inside the tpl tags such as this

!-- BEGIN titular --><!-- IF titular.HAY_IMG == '1' -->
                    <div class="titular"><img src="{repository_url}{titular.IMG}" {titular.src_edittags} alt="" /></div>
                    <!-- ENDIF --><!-- END titular -->

Why could this be happening? The code remains exactly the same, as does the database, the PHP, Apache and MySQL versions.

I only know very basic PHP, so its pretty difficult to me to go through the code.

So my questions:

  • Has something like this happened to you before? What was the culprit?

  • If the code remains the same, should I bother to go through it? In the current production server (to which I have access) its working perfectly

  • I've enabled PHP error logging but I dont get any errors there, is there any other place i should look?

Please if you have any hint or idea that may help, share it, I am totally lost

+1  A: 

i suppose that your tpl files have been cached. so if u have a cache or temp folder or something like that empty it.

rahim asgari