News:

SMF 2.1.6 has been released! Take it for a spin! Read more.

Main Menu

Problem with SSI.php

Started by anuro, February 04, 2007, 04:49:20 PM

Previous topic - Next topic

anuro

I heve change the server latelly and now I have a probleme with the integration of my forum in main page. The message that I have is:

Notice: SSI.php was unable to load a session! This may cause problems with logout and other functions - please make sure SSI.php is included before *anything* else in all your scripts! in /home/content/a/l/b/albem/html/albforum/SSI.php on line 160

You can see it here :
hxxp:www.albemigrant.com/ [nonactive]

On the line 160 we have :    trigger_error($txt['ssi_session_broken'], E_USER_NOTICE);

So somebody can tell me what mey be the source of this problem?

Thank you
ANURO

KGIII

On your new server you may have a new path. Check the top-most line of your output page to ensure that you are using the proper path to SSI.php and that nothing else in the forum itself is generating errors.

My PC Support Forum
Please ask in-thread before PMing
                   SMF Help
                   Visit My Blog

How can we improve the support process?:
http://www.simplemachines.org/community/index.php?topic=163533.0

SMF vs. Godzilla? Who do you think will win?

anuro

Quote from: KGIII on February 05, 2007, 03:16:12 AM
On your new server you may have a new path. Check the top-most line of your output page to ensure that you are using the proper path to SSI.php and that nothing else in the forum itself is generating errors.

I don't understend where exaclly I must find  this output page.

I have included in my index like this:

<?php require("albforum/SSI.php");

ssi_recentTopics(); ?>

Please show me wich of files I must change ...
ANURO

KGIII

At the very top of the page you are going to have the output on, you will want to include something that looks like this:


<?php require("/home/YourAccountName/public_html/forum/SSI.php"); ?>


You will need to edit it so that it has your proper path.

Where you want to include the recent topics you would insert:


<?php ssi_recentTopics(); ?>

My PC Support Forum
Please ask in-thread before PMing
                   SMF Help
                   Visit My Blog

How can we improve the support process?:
http://www.simplemachines.org/community/index.php?topic=163533.0

SMF vs. Godzilla? Who do you think will win?

anuro

#4
Quote from: KGIII on February 06, 2007, 01:50:14 PM
At the very top of the page you are going to have the output on, you will want to include something that looks like this:


<?php require("/home/YourAccountName/public_html/forum/SSI.php"); ?>


You will need to edit it so that it has your proper path.

Where you want to include the recent topics you would insert:


<?php ssi_recentTopics(); ?>


I did it. Thank you very much for your help. In fact when I put the ..."require".. at the very top of the page, I had problems with other scripts integrated on my index so, I put the path requardet just one line before the topics integrated.
So it is something like this:


<?php require("/home/YourAccountName/public_html/forum/SSI.php"); ?>

and immeiately:
<?php require("albforum/SSI.php");
ssi_recentTopics(); ?>[/b]

So, thank's again
ANURO

KGIII

Most excellent, glad you got it sorted.

My PC Support Forum
Please ask in-thread before PMing
                   SMF Help
                   Visit My Blog

How can we improve the support process?:
http://www.simplemachines.org/community/index.php?topic=163533.0

SMF vs. Godzilla? Who do you think will win?

Advertisement: