Problem with PHP pages

General discussions related to php

Moderators: egami, macek, gesf

Post Reply
New php-forum User
New php-forum User
Posts: 9
Joined: Fri Oct 21, 2011 1:31 am

Sun Jun 17, 2012 8:51 am

Hi everyone,

I switched to a new server yesterday and transferred all my files.

Now, I'm getting "Fatal error: Call to undefined function dirname() in" errors on just about any page.

The weird thing is it's only happening on one site, even though the same exact files/scripts are on other sites on the same server as well (different IP address, though).

What's also weird is that the problem is not a constant. A page will load, then a couple clicks later the same page will have the PHP error - even though absolutely nothing has changed.

Any ideas?

Post Reply