News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

I have an error on RC4

Started by Gheko, November 09, 2010, 07:10:38 AM

Previous topic - Next topic

Gheko

Hello, I have an error
"Vizitator
Aplică Filtru: Arată doar mesajele de eroare provenite de la această adresă IP 89.42.146.140
     Ordonare invers cronologică a listei Azi la 11:08:10
Aplică Filtru: Arată doar mesajele de eroare din această sesiune 4ce6299f034eafff2869d48696841307
Aplică Filtru: Arată numai erorile de acest tip Tipul de eroare: Nedefinit
Aplică Filtru: Arată numai mesajele de eroare ale acestui URL
http://,,,,,,,
Aplică Filtru: Arată doar erorile cu acelaşi mesaj
8: Undefined index: REQUEST_URL
Aplică Filtru: Arată erorile doar din acest fişier
Fişier: /usr/home/club206/domains/club-206.ro/public_html/Sources/Subs.php
Rând: 2920 "

8: Undefined index: REQUEST_URL
Aplică Filtru: Arată erorile doar din acest fişier
Fişier: /usr/home/club206/domains/club-206.ro/public_html/Sources/Subs.php
Rând: 2919

How can I solve this error?
Proud member Of Peugeot 206 Club Romania

kat

If you tell me what language that is, I'll move it to the board where they might understand. ;)

Gheko

Uh sorry. English, this are mI errors

Guest
Apply Filter: Only show the error messages of this IP address 77.92.233.198 
     Reverse chronological order of list Today at 07:57:12
Apply Filter: Only show the error messages of this session bd66c25d9f83f294c0fb0bf0d696fc9e
Apply Filter: Only show the errors of this type Type of error: Undefined
Apply Filter: Only show the error messages of this URL
http://www.club-206.ro/index.php?
Apply Filter: Only show the errors with the same message
8: Undefined index: REQUEST_URL
Apply Filter: Only show the errors from this file
File: /usr/home/club206/domains/club-206.ro/public_html/Sources/Subs.php
Line: 2920
   Apply Filter: Only show the error messages of this member Guest
Apply Filter: Only show the error messages of this IP address 77.92.233.198 
     Reverse chronological order of list Today at 07:57:12
Apply Filter: Only show the error messages of this session bd66c25d9f83f294c0fb0bf0d696fc9e
Apply Filter: Only show the errors of this type Type of error: Undefined
Apply Filter: Only show the error messages of this URL
http://www.club-206.ro/index.php?
Apply Filter: Only show the errors with the same message
8: Undefined index: REQUEST_URL
Apply Filter: Only show the errors from this file
File: /usr/home/club206/domains/club-206.ro/public_html/Sources/Subs.php
Line: 2919
Proud member Of Peugeot 206 Club Romania

Aleksi "Lex" Kilpinen

Are you using some other theme than Curve? Did you use the small update, or the large upgrade to get to RC4?
Do you have any mods installed?
Slava
Ukraini!
"Before you allow people access to your forum, especially in an administrative position, you must be aware that that person can seriously damage your forum. Therefore, you should only allow people that you trust, implicitly, to have such access." -Douglas

How you can help SMF

Gheko

Yes I use 2 themes, Curve and Krilliun. I have simple portal, global headers footers, ad management and aeva media, all mods are upgrade to RC4. I dont remember what  I use, large upgrade i think. A, and i use romanian language utf-8.
SMF File    Your Version    Current Version
SMF Package    SMF 2.0 RC4    SMF 2.0 RC4
Sources    2.0 RC4    2.0 RC4
Default Templates    2.0 RC4    2.0 RC4
Language Files    2.0 RC4    2.0 RC4
Current Templates    2.0 RC4    2.0 RC4
Proud member Of Peugeot 206 Club Romania

Aleksi "Lex" Kilpinen

Just out of curiosity, could you test if these errors come up when using Curve, or only with the custom theme?
Slava
Ukraini!
"Before you allow people access to your forum, especially in an administrative position, you must be aware that that person can seriously damage your forum. Therefore, you should only allow people that you trust, implicitly, to have such access." -Douglas

How you can help SMF

Gheko

I have tested, but i didnt reset all the users theme.
Proud member Of Peugeot 206 Club Romania

Aleksi "Lex" Kilpinen

Well, which theme is shown to guests? Since the errors are by guests, then that would tell us a lot already :)
Slava
Ukraini!
"Before you allow people access to your forum, especially in an administrative position, you must be aware that that person can seriously damage your forum. Therefore, you should only allow people that you trust, implicitly, to have such access." -Douglas

How you can help SMF

Gheko

I reseted to everyone to curve still are the errors. The guests see on portal curve and on forum krilliun.
Proud member Of Peugeot 206 Club Romania

Aleksi "Lex" Kilpinen

Ok, are the errors actually from http://www.club-206.ro/index.php?  or did you trim the URL in the error?

If that is not the complete URL, could you give the complete URLs, and attach a copy of your Subs.php to your next post.
Slava
Ukraini!
"Before you allow people access to your forum, especially in an administrative position, you must be aware that that person can seriously damage your forum. Therefore, you should only allow people that you trust, implicitly, to have such access." -Douglas

How you can help SMF

Gheko

#10
Yes is the complet url. File: /usr/home/club206/domains/club-206.ro/public_html/Sources/Subs.php

2900:    
loadSubTemplate(isset($context['sub_template']) ? $context['sub_template'] : 'main');
2901:    
2902:    
// Anything special to put out?
2903:    
if (!empty($context['insert_after_template']) && !isset($_REQUEST['xml']))
2904:    
echo $context['insert_after_template'];
2905:    
2906:    
// Just so we don't get caught in an endless loop of errors from the footer...
2907:    
if (!$footer_done)
2908:    
{
2909:    
$footer_done = true;
2910:    
template_footer();
2911:    
2912:    
// (since this is just debugging... it's okay that it's after </html>.)
2913:    
if (!isset($_REQUEST['xml']))
2914:    
db_debug_junk();
2915:    
}
2916:    
}
2917:    
2918:    
// Remember this URL in case someone doesn't like sending HTTP_REFERER.
2919:    
if (strpos($_SERVER['REQUEST_URL'], 'action=dlattach') === false && strpos($_SERVER['REQUEST_URL'], 'action=viewsmfile') === false)
==>2920:    
$_SESSION['old_url'] = $_SERVER['REQUEST_URL'];
2921:    
2922:    
// For session check verfication.... don't switch browsers...
2923:    
$_SESSION['USER_AGENT'] = $_SERVER['HTTP_USER_AGENT'];
2924:    
2925:    
if (!empty($settings['strict_doctype']))
2926:    
{
2927:    
// The theme author wants to use the STRICT doctype (only God knows why).
2928:    
$temp = ob_get_contents();
2929:    
if (function_exists('ob_clean'))
2930:    
ob_clean();
2931:    
else
2932:    
{
2933:    
ob_end_clean();
2934:    
ob_start('ob_sessrewrite');
2935:    
}
2936:    
2937:    
echo strtr($temp, array(
2938:    
'var smf_iso_case_folding' => 'var target_blank = \'_blank\'; var smf_iso_case_folding',
2939:    
'target="_blank"' => 'onclick="this.target=target_blank"'));
2940:    
}

Proud member Of Peugeot 206 Club Romania

Aleksi "Lex" Kilpinen

No, I mean the error message has the line with your site URL, showing where the error was triggered.

But looking at those lines you posted, I can't honestly say I would see anything immediately wrong there...
Slava
Ukraini!
"Before you allow people access to your forum, especially in an administrative position, you must be aware that that person can seriously damage your forum. Therefore, you should only allow people that you trust, implicitly, to have such access." -Douglas

How you can help SMF

Gheko

#12
I atached a copy of subs.php on mI last post.
L.E. Not only on guests i have the error:
Gheko
Apply Filter: Only show the error messages of this IP address 89.122.18.223 
     Reverse chronological order of list Today at 10:44:09
Apply Filter: Only show the error messages of this session 0d9f3ba8b625d46ba70d7a39525d0568
Apply Filter: Only show the errors of this type Type of error: Undefined
Apply Filter: Only show the error messages of this URL
http://www.club-206.ro/index.php?
Apply Filter: Only show the errors with the same message
8: Undefined index: REQUEST_URL
Apply Filter: Only show the errors from this file
File: /usr/home/club206/domains/club-206.ro/public_html/Sources/Subs.php
Line: 2920
Proud member Of Peugeot 206 Club Romania

Gheko

I found the problem, I deactivated the simple portal and the erorr is gone. What to do to use simple portal whytout errors?
Proud member Of Peugeot 206 Club Romania

Aleksi "Lex" Kilpinen

OK, now that helps a lot - if you pinpointed what caused it, it should be a lot easier to fix too.
But, since it is directly a SimplePortal problem, you might want to turn to the people who created SimplePortal
http://simpleportal.net/index.php?board=11.0

They would most probably be the best ones to answer you :)
Slava
Ukraini!
"Before you allow people access to your forum, especially in an administrative position, you must be aware that that person can seriously damage your forum. Therefore, you should only allow people that you trust, implicitly, to have such access." -Douglas

How you can help SMF

Gheko

Thanks for your help, I will talk whyt them. Have a nice day and thank you again.
Proud member Of Peugeot 206 Club Romania

Aleksi "Lex" Kilpinen

Slava
Ukraini!
"Before you allow people access to your forum, especially in an administrative position, you must be aware that that person can seriously damage your forum. Therefore, you should only allow people that you trust, implicitly, to have such access." -Douglas

How you can help SMF

Advertisement: