Coder Social home page Coder Social logo

Errors after move about bludit HOT 10 CLOSED

bludit avatar bludit commented on May 17, 2024
Errors after move

from bludit.

Comments (10)

dignajar avatar dignajar commented on May 17, 2024

Could you execute the next code on your server, I wan to try if your server returns the variable DIR

<?php

var_dump(__DIR__);

var_dump(DIRECTORY_SEPARATOR);

?>

from bludit.

davede-git avatar davede-git commented on May 17, 2024

@dignajar

Results

string(7) "__DIR__" string(1) "/" 

from bludit.

dignajar avatar dignajar commented on May 17, 2024

Interesting, your server doesn't reconize the constant DIR..

from bludit.

dignajar avatar dignajar commented on May 17, 2024

To workarround of this problem, you can change this line:

install.php

define('PATH_ROOT',     __DIR__.DS);

change for this

define('PATH_ROOT',     dirname(__FILE__).DS);

from bludit.

davede-git avatar davede-git commented on May 17, 2024

Hmmm. Now I see my PHP version is 5.2.17. Is this the problem?

from bludit.

dignajar avatar dignajar commented on May 17, 2024

Are you sure you have php 5.4 on your server?

from bludit.

dignajar avatar dignajar commented on May 17, 2024

Yes, Bludit works with PHP 5.3 or higher. May be you can upgrade your php on your server, from the cpanel ?

from bludit.

davede-git avatar davede-git commented on May 17, 2024

Thanks for reply Diego. My cpanel shows me PHP5.4 but it is not true. I will try to update my PHP and then I will reply here.

from bludit.

dignajar avatar dignajar commented on May 17, 2024

Could you set your PHP version ?

from bludit.

MegaBedder avatar MegaBedder commented on May 17, 2024

It is strange because the constant DIR PHP was introduced in version 5.3. Chances are you have an older version of php...

from bludit.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.