Customizing SMF > Modifications and Packages

Highslide 4 SMF

<< < (2/81) > >>

Am':
another error (error log) 

---------------
index.php?action=profile;area=showposts;u=20314

2: include_once() [<a href='function.include'>function.include</a>]: Failed opening '/hs4smf-Subs.php' for inclusion (include_path='.:/usr/local/php-5.2.13/lib/php')

Fichier: /home/site2455/web/www/forum/Sources/Subs.php
Ligne: 2432
-------------

------------------
index.php?action=profile;area=showposts;u=20314

2: include_once(/hs4smf-Subs.php) [<a href='function.include-once'>function.include-once</a>]: failed to open stream: No such file or directory

Fichier: /home/site2455/web/www/forum/Sources/Subs.php
Ligne: 2432
-------------------
any idea please ?

Arantor:
There's a missing inclusion of $sourcedir into scope in the function.

Am':

--- Quote from: Arantor on May 02, 2010, 06:41:04 AM ---There's a missing inclusion of $sourcedir into scope in the function.

--- End quote ---

any fix ???  ;)

Arantor:
The mod author will have to fix it - I'm just throwing in a comment as to where to look - I haven't even seen the code of the mod but can tell you that's the root cause.

Yağız...:
For a quick fix, find this on ./Sources/Subs.php:

--- Code: --- if((empty($cache_id) || substr($cache_id, 0, 3) != 'sig') && $context['current_action'] != 'stats' && $context['current_action'] != 'post' && $context['current_action'] != 'jseditor') {
if (!function_exists('hs4smf')) {
--- End code ---
Add after:

--- Code: --- global $sourcedir;
--- End code ---

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version