Comments (10)
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.
Results
string(7) "__DIR__" string(1) "/"
from bludit.
Interesting, your server doesn't reconize the constant DIR..
from bludit.
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.
Hmmm. Now I see my PHP version is 5.2.17. Is this the problem?
from bludit.
Are you sure you have php 5.4 on your server?
from bludit.
Yes, Bludit works with PHP 5.3 or higher. May be you can upgrade your php on your server, from the cpanel ?
from bludit.
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.
Could you set your PHP version ?
from bludit.
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)
- Bludit closes content page without saving HOT 1
- Usability Bug: First save redirects to content list, others move cursor up
- Usability Improvement: Store unsaved text in localstorage, improve autosave, and connection handling
- Image (security) issues (bludit 3.15) HOT 1
- Bludit 3.15: Deleting a page keeps the image folder
- Is bludit 1.6.2 download legit? HOT 1
- API Plugin, numberofitems in settings is not used
- How to filter posts by category on the home page? HOT 1
- version 3.15.0 is vulnerable to stored xss or Admin privilaged account creation. HOT 1
- Image Upload Error
- 403 error with HTML plug in
- How to customize <title></title> HOT 2
- Feature Request: Add auto-updater for Plugins/Themes/Bludit itself
- Security Vulnerabilities in Bludit - Please get in touch HOT 2
- Password length check is variable but also fix coded in \bl-kernel\functions.php
- There is a Stored XSS vulnerable in Categories of Admin Panel.
- Support for Bludit CMS Development HOT 3
- Use translated 'about' section title in sidebar
- Telegram is missing as a social network HOT 1
- Cross-Site Request Forgery (CSRF) within the admin theme selection functionality
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bludit.