Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> phpnuke 7.7
Author Message
LaMpiR
Regular
Regular



Joined: Oct 31, 2004
Posts: 50

PostPosted: Sat May 28, 2005 2:11 am Reply with quote

I've installed new patch but i could not access my website...
I get some error with cookies. I could not run upgrade.php so i've excecuted upgrade.sql with my phpmyadmin...
 
View user's profile Send private message
benson
Worker
Worker



Joined: May 15, 2004
Posts: 119
Location: Germany

PostPosted: Sat May 28, 2005 3:06 am Reply with quote

Hello,

I had the same problem and the following changes helped for me:

Check all your Blocks and change the code to the following:

Code:


<?php
if ( !defined('BLOCK_FILE') ) {
    Header("Location: ../index.php");
    die();
}
...

That should help !
 
View user's profile Send private message Visit poster's website
LaMpiR







PostPosted: Sat May 28, 2005 3:32 am Reply with quote

Problem was i block-Sommaire.php but i've done just as you sad and it workes. Tnx

But i got another problem...
SEcurity code on admin login page is gone...
There is a place for image but image is empty...
 
chatserv
Member Emeritus



Joined: May 02, 2003
Posts: 1389
Location: Puerto Rico

PostPosted: Sat May 28, 2005 11:33 pm Reply with quote

Try changing in admin.php:
Code:
?gfx=gfx&random_num=$random_num

to:
Code:
".$admin_file.".php?gfx=gfx&random_num=$random_num

or:
Code:
modules.php?name=Your_Account&gfx=gfx&random_num=$random_num
 
View user's profile Send private message Visit poster's website
LaMpiR







PostPosted: Sun May 29, 2005 12:28 am Reply with quote

chatserv wrote:
Try changing in admin.php:
Code:
?gfx=gfx&random_num=$random_num

to:
Code:
".$admin_file.".php?gfx=gfx&random_num=$random_num

or:
Code:
modules.php?name=Your_Account&gfx=gfx&random_num=$random_num


First:
Code:


   OpenTable();
   echo "<form action=\"".$admin_file.".php\" method=\"post\">"
   ."<table border=\"0\">"
   ."<tr><td>"._ADMINID."</td>"
   ."<td><input type=\"text\" NAME=\"aid\" SIZE=\"20\" MAXLENGTH=\"25\"></td></tr>"
   ."<tr><td>"._PASSWORD."</td>"
   ."<td><input type=\"password\" NAME=\"pwd\" SIZE=\"20\" MAXLENGTH=\"40\"></td></tr>";
   if (extension_loaded("gd") AND ($gfx_chk == 1 OR $gfx_chk == 5 OR $gfx_chk == 6 OR $gfx_chk == 7)) {
      echo "<tr><td colspan='2'>"._SECURITYCODE.": <img src='".$admin_file.".php?gfx=gfx&random_num=$random_num' border='1' alt='"._SECURITYCODE."' title='"._SECURITYCODE."'></td></tr>"
      ."<tr><td colspan='2'>"._TYPESECCODE.": <input type=\"text\" NAME=\"gfx_check\" SIZE=\"7\" MAXLENGTH=\"6\"></td></tr>";
   }
   echo "<tr><td>"
   ."<input type=\"hidden\" NAME=\"random_num\" value=\"$random_num\">"
   ."<input type=\"hidden\" NAME=\"op\" value=\"login\">"
   ."<input type=\"submit\" VALUE=\""._LOGIN."\">"
   ."</td></tr></table>"
   ."</form>";
   CloseTable();



Second:
Code:


   OpenTable();
   echo "<form action=\"".$admin_file.".php\" method=\"post\">"
   ."<table border=\"0\">"
   ."<tr><td>"._ADMINID."</td>"
   ."<td><input type=\"text\" NAME=\"aid\" SIZE=\"20\" MAXLENGTH=\"25\"></td></tr>"
   ."<tr><td>"._PASSWORD."</td>"
   ."<td><input type=\"password\" NAME=\"pwd\" SIZE=\"20\" MAXLENGTH=\"40\"></td></tr>";
   if (extension_loaded("gd") AND ($gfx_chk == 1 OR $gfx_chk == 5 OR $gfx_chk == 6 OR $gfx_chk == 7)) {
      echo "<tr><td colspan='2'>"._SECURITYCODE.": <img src='modules.php?name=Your_Account&gfx=gfx&random_num=$random_num' border='1' alt='"._SECURITYCODE."' title='"._SECURITYCODE."'></td></tr>"
      ."<tr><td colspan='2'>"._TYPESECCODE.": <input type=\"text\" NAME=\"gfx_check\" SIZE=\"7\" MAXLENGTH=\"6\"></td></tr>";
   }
   echo "<tr><td>"
   ."<input type=\"hidden\" NAME=\"random_num\" value=\"$random_num\">"
   ."<input type=\"hidden\" NAME=\"op\" value=\"login\">"
   ."<input type=\"submit\" VALUE=\""._LOGIN."\">"
   ."</td></tr></table>"
   ."</form>";
   CloseTable();


None of them worked Smile[/code]
 
Display posts from previous:       
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> phpnuke 7.7

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©