Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Security - PHP Nuke
Author Message
Susann
Moderator


Joined: Dec 19, 2004
Posts: 3191
Location: Germany:Moderator German NukeSentinel Support

PostPosted: Thu Jun 30, 2005 6:11 pm Reply with quote

I can´t save my changes in the administration "General site info" anymore and I have no idea how to repair this. My database is up to date. I ´tried the original sitekey in the config.php.I removed the javascript from the site navigation.Tried chmod 666 and 644 for the config.php but this doesn´t change anything.

Any ideas ?
 
View user's profile Send private message
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 17086

PostPosted: Thu Jun 30, 2005 6:51 pm Reply with quote

Use phpMyAdmin and run a Repair on the table. If that doesn't fix it then look in your error log. Compare the number of columns in the table to the original schema. Have you added anything recently?
 
View user's profile Send private message
Susann
PostPosted: Fri Jul 01, 2005 4:33 am Reply with quote

Fixed. Laughing I added last week into the footmsg 3 this:
Code:


<br><a href="http://jigsaw.w3.org/css-validator/"target="_blank">
 <img  src="images/validcss.jpg"
 border="0" width="88"height="31"alt="Valid CSS"></a>&nbsp;&nbsp;&nbsp;<a href="http://www.nukescripts.net/" target="_blank"><img src="/images/Sentinel_Small.png" border="0" width="88" height="31"alt="Website Protected by Sentinel"></a>
  &nbsp;&nbsp;
      <a href="http://validator.w3.org/"target="_blank" ><img       src="http://www.mysite.de/images/html.jpg"
          alt="Valid HTML 4.01" height="31" width="88" border="0"></a>


After I removed this code I had no problems with my configuration changes.

Code:


footmsg 3
<br>News einbinden per RSS  <a href="backend.php"><img src="/images/rss.gif"   alt="RSS News"  width="36"height="14"border="0" title="RSS News"></a>     <a href="backendforum.php"><img src="/images/rss-forum.gif" width="94" height="15"border="0"alt="RSS Forums Feed"title="RSS Forums Feed"></a>              <font class="footmsg_l"></font>     <a href="ultramode.txt"><font class="footmsg_l">ultramode.txt</font></a>
 
Raven
PostPosted: Fri Jul 01, 2005 7:55 am Reply with quote

Interesting. Try this when you get a chance. Try your code again but w/o the
Code:
&nbsp;&nbsp;

      <a href="http://validator.w3.org/"target="_blank" ><img       src="http://www.mysite.de/images/html.jpg"
          alt="Valid HTML 4.01" height="31" width="88" border="0"></a>

If that works, then rename html.jpg to susan.jpg and add that cod to your footer
Code:
&nbsp;&nbsp;

      <a href="http://validator.w3.org/"target="_blank" ><img       src="http://www.mysite.de/images/susan.jpg"
          alt="Valid HTML 4.01" height="31" width="88" border="0"></a>

If that now works, let me know.
 
Susann
PostPosted: Sat Jul 02, 2005 3:26 pm Reply with quote

Raven I renamed the jpg to Jelo.jpg Laughing Just a joke.
I renamed the jpg and the size of both images.
In the footmsg 3 are now 3 png and two links.
But It´s not possible to add this link
<a href="http://www.nukescripts.net/" target="_blank"><img src="/images/Sentinel_Small.png" border="0" width="88" height="31"alt="Website Protected by Sentinel"></a> into msg 3, msg 1 or footmsg 2.
If I add all 3 links through phpMyAdmin into my nuke_ config I can´t save my changes in the adminstration general site info anymore.
Isn´t it strange ?I quess it´s a bug or what could that be ?
 
Raven
PostPosted: Sat Jul 02, 2005 3:39 pm Reply with quote

Try single quote marks.
 
Susann
PostPosted: Sun Jul 03, 2005 5:53 pm Reply with quote

Thanks,

With single quote marks it ´s still the same result. I give up. Confused
 
Raven
PostPosted: Sun Jul 03, 2005 8:22 pm Reply with quote

Susann,

Please post your entire block of code as you want to see it. In other words, both the code that works and the code that doesn't, as one block of code. I actually had a similar experience in the past and it was due to unbalanced quotes. Maybe that's not your problem but I'd like to try to copy-n-paste the code in my footer to see if it works here.
 
Susann
PostPosted: Mon Jul 04, 2005 6:25 am Reply with quote

Ok, this code works: footmsg3

Code:
<br><img src="/images/Sentinel_Small.png" border="0" width="88" height="31" alt="Website Protected by Sentinel">&nbsp;<a href="http://jigsaw.w3.org/css-validator/"target="_blank"> 

 <img  src="images/valid.png"
 border="0" width="88"height="31"alt="Valid CSS"> </a>&nbsp;<a href="http://validator.w3.org/"target="_blank" ><img      src="/images/ok.png"
          alt="Valid HTML 4.01" height="31" width="88" border="0"></a>&nbsp;<br><br>News einbinden per RSS  <a href="backend.php"><img src="/images/rss.gif"   alt="RSS News"  width="36"height="14"border="0" title="RSS News von Checkpoint BK"></a>     <a href="backendforum.php"><img src="/images/rss-forum.gif" width="94" height="15"border="0"alt="RSS Forums Feed"title="RSS Forums Feed Checkpoint BK"></a>              <font class="footmsg_l"></font>     <a href="ultramode.txt"><font class="footmsg_l">ultramode.txt</font></a>





I tried it with the link to nukescripts.net before the other png, behind and in the middle, but its all the same. Then I added the link into nuke_config and my configuration doesn´t save changes anymore.


Code:
<br><a href="http://www.nukescripts.net/" target="_blank"><img src="/images/Sentinel_Small.png" border="0" width="88" height="31" alt="Website Protected by Sentinel"></a> <a href="http://jigsaw.w3.org/css-validator/"target="_blank"> 

 <img  src="images/valid.png"
 border="0" width="88"height="31"alt="Valid CSS"> </a> <a href="http://validator.w3.org/"target="_blank" ><img      src="/images/ok.png"
          alt="Valid HTML 4.01" height="31" width="88" border="0"></a> <br><br>News einbinden per RSS  <a href="backend.php"><img src="/images/rss.gif"   alt="RSS News"  width="36"height="14"border="0" title="RSS News von Checkpoint BK"></a>     <a href="backendforum.php"><img src="/images/rss-forum.gif" width="94" height="15"border="0"alt="RSS Forums Feed"title="RSS Forums Feed Checkpoint BK"></a>              <font class="footmsg_l"></font>     <a href="ultramode.txt"><font class="footmsg_l">ultramode.txt</font></a>
 
Raven
PostPosted: Mon Jul 04, 2005 10:42 am Reply with quote

To be sure I understand, this code works and you can add it to your Preferences section and it saves - correct?
Code:
<br><img src="/images/Sentinel_Small.png" border="0" width="88" height="31" alt="Website Protected by Sentinel">&nbsp;<a href="http://jigsaw.w3.org/css-validator/"target="_blank">

 <img  src="images/valid.png"
 border="0" width="88"height="31"alt="Valid CSS"> </a>&nbsp;<a href="http://validator.w3.org/"target="_blank" ><img      src="/images/ok.png"
          alt="Valid HTML 4.01" height="31" width="88" border="0"></a>&nbsp;<br><br>News einbinden per RSS  <a href="backend.php"><img src="/images/rss.gif"   alt="RSS News"  width="36"height="14"border="0" title="RSS News von Checkpoint BK"></a>     <a href="backendforum.php"><img src="/images/rss-forum.gif" width="94" height="15"border="0"alt="RSS Forums Feed"title="RSS Forums Feed Checkpoint BK"></a>              <font class="footmsg_l"></font>     <a href="ultramode.txt"><font class="footmsg_l">ultramode.txt</font></a>


However, if you add this link
Code:
<a href="http://www.nukescripts.net/" target="_blank"><img src="/images/Sentinel_Small.png" border="0" width="88" height="31" alt="Website Protected by Sentinel"></a>
in the Preferences section to that code, it will not save?

Have you checked your server error log? Make sure that you are not supressing error display.
 
Susann
PostPosted: Mon Jul 04, 2005 2:41 pm Reply with quote

Yes, thats correct.

My logs looks like this:
Code:


213.xxx.xxx.xxx - Admin [03/Jul/2005:01:08:02 +0200] "GET /admin.php?op=Configure HTTP/1.1" 200 51110 "http://www.mysite.de/admin.php" "Mozilla/5.0 (Windows; U; Win 9x 4.90; de-DE; rv:1.7.8) Gecko/20050511 Firefox/1.0.4"
213.xxx.xxx.xxx - Admin [03/Jul/2005:01:09:23 +0200] "POST /admin.php HTTP/1.1" 302 5 "http://www.mysite.de/admin.php?op=Configure" "Mozilla/5.0 (Windows; U; Win 9x 4.90; de-DE; rv:1.7.8) Gecko/20050511 Firefox/1.0.4"

With the modified_ sql layer I found one error today:
Code:


error in sql-statement: mysql_query, err-no: 1054
qry: DELETE FROM nuke_users WHERE time < '1120505847'
description: Unknown column 'time' in 'where clause'
How to fix this ?
 
Raven
PostPosted: Mon Jul 04, 2005 4:57 pm Reply with quote

I don't know where you got that statement from, but you should not be deleting from nuke_users! You would want to be deleting from nuke_users_temp or nuke_sessions.
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Security - PHP Nuke

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 ©