When I activate my app, I get this error

yanick beaulieu Posted in Technical Support 9 months ago

When I activate my app, I get this error

Error: Failed opening required '/home/.../.../components/Article/classes/Article.php' (include_path='/home/.../.../components/TextareaSupport/vendors/htmlpurifier-4.12.0-lite/library:.:/opt/cpanel/ea-php81/root/usr/share/pear') in /home/.../.../components/Articles/ossn_com.php:14

Stack trace:

0 /home/.../.../classes/OssnComponents.php(254): include_once()

1 /home/.../.../libraries/ossn.lib.components.php(69): OssnComponents->loadComs()

2 /.../.../.../system/start.php(39): include_once('.../.../...')

3 /.../.../.../system/handlers/actions.php(12): require_once('.../.../...')

4 {main}

Replies
Catalan Yanick beaulieu Replied 9 months ago

Error solved It looks like I forgot an "s" at the end of my word in ossn_com.php

define('ARTICLE', ossn_route()->com . 'Articles/');

'Articles/');

Catalan Yanick beaulieu Replied 9 months ago

If I understand my! I must take into account only the first line because I think he said he had a mistake on all his lines! If it's his I'll look before at this place and send it to you by github perfect thank you for your answer

Indonesian Arsalan Shah Replied 9 months ago

I just don't understand error is written in your above topic. I will translate error into french :

Erreur : échec de l'ouverture requise '/home/.../.../components/Article/classes/Article.php' (include_path='/home/.../.../components/TextareaSupport/vendors/htmlpurifier- 4.12.0-lite/library:.:/opt/cpanel/ea-php81/root/usr/share/pear') dans /home/.../.../components/Articles/ossn_com.php:14

Alternatively

Please provide code at github so we can look into it.

Catalan Yanick beaulieu Replied 9 months ago

Indeed I keep looking for my previous error on the other hand I think I need a little explanation how to read the error message will you be able to explain to me a little what would allow me to understand the previous error when I'm going to be disappointed :)

Indonesian Arsalan Shah Replied 9 months ago

What should we say? because the issue is written in the error above.

Please resovle your last issue first https://www.opensource-socialnetwork.org/discussion/view/6971/writing-in-special-characters