GithubHelp home page GithubHelp logo

White page after upgrade about slicomments HOT 3 CLOSED

jonnsl avatar jonnsl commented on July 2, 2024
White page after upgrade

from slicomments.

Comments (3)

jonnsl avatar jonnsl commented on July 2, 2024

go to 'Global Configuration' -> 'Server' and set 'Error Reporting' to 'Maximum'.
access the blank page and see if any error message appears.

from slicomments.

szabolcstoth avatar szabolcstoth commented on July 2, 2024

On the frontend:

Notice: Use of undefined constant __DIR__ - assumed '__DIR__' in /var/users/scifihu/firefly/web/administrator/components/com_slicomments/libraries/loader.php on line 16
Warning: include(__DIR__/2.5/controller.php) [function.include]: failed to open stream: No such file or directory in /var/users/scifihu/firefly/web/administrator/components/com_slicomments/libraries/loader.php on line 16
Warning: include() [function.include]: Failed opening '__DIR__/2.5/controller.php' for inclusion (include_path='.:/opt/php5.2/lib/php') in /var/users/scifihu/firefly/web/administrator/components/com_slicomments/libraries/loader.php on line 16
Fatal error: Class 'sliController' not found in /var/users/scifihu/firefly/web/components/com_slicomments/controllers/comments.php on line 13

On the administrator page:

Notice: Use of undefined constant __DIR__ - assumed '__DIR__' in /var/users/scifihu/firefly/web/administrator/components/com_slicomments/slicomments.php on line 17
Warning: require_once(__DIR__/libraries/loader.php) [function.require-once]: failed to open stream: No such file or directory in /var/users/scifihu/firefly/web/administrator/components/com_slicomments/slicomments.php on line 17
Fatal error: require_once() [function.require]: Failed opening required '__DIR__/libraries/loader.php' (include_path='.:/opt/php5.2/lib/php') in /var/users/scifihu/firefly/web/administrator/components/com_slicomments/slicomments.php on line 17

I checked, the loader.php can be found here:
administrator/components/com_slicomments/libraries/

The 1.5.1 is the last version, which is working.

from slicomments.

jonnsl avatar jonnsl commented on July 2, 2024

If possible upgrade your php version to 5.3.x, if this is not possible you can try replace all occurrences of "DIR" with "dirname(FILE)" (without the quotes) in the files administrator/components/com_slicomments/libraries/loader.php and administrator/components/com_slicomments/slicomments.php ,
but I can't guarantee that this extension will work in php 5.2.x

from slicomments.

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.