Important: This page is using cookies (cookies). Using this website without turning off cookies in browser, means that you agree for using it.
Buy Now! Features Downloads

Earn with us!

If you would like to start earning money with vBET join to Affiliate Program.
Results 1 to 10 of 11

Thread: Upgraded to PHP 5.2.14 - Some languages are broken

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Senior Member
    Join Date
    Nov 2009
    Posts
    168

    Default Upgraded to PHP 5.2.14 - Some languages are broken

    I've recently had my server upgraded to PHP 5.2.14. Currently, memcached is still down, so some functionality isn't working in my other add-ons, but it looks like vBET is.

    However, only a few languages are currently working!

    Danish works: PentaxForums.com - Pentax Photography Forum
    Polish doesn't: http://www.pentaxforums.com/forums/pl/

    This notice is shown on all forum pages:
    Notice: Use of undefined constant DIR - assumed 'DIR' in ************************************************************************************************************************../forums/includes/vbenterprisetranslator_functions_vbseo.php on line 18

    If I change this code in the vbet functions_vbseo file:
    if (!defined(DIR)) {
    define('DIR', (($getcwd = getcwd()) ? $getcwd : '.'));
    }
    to just
    define('DIR', (($getcwd = getcwd()) ? $getcwd : '.'));

    the warning disappears, but my problem isn't fixed. Any idea why this would be? FYI, there are no notices or errors currently being shown on the vBET pages.

    I copied and am still using my old php.ini file, so the same settings are being used as before.

    Thanks for your help!

    Adam
    Last edited by moman; 17-08-10 at 22:41.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •