Help Please

Started on the old forum in December 2007 · view the original in the archive · old links redirect here

8 replies · 850 views · started 18 years ago · 1 min read

2 participants
metulj Super moderator Principal · 1,726 posts #1

my account has been moved to another server and now none user cannot connect to site with phone External image (may be gone)

when i try with FireFox i get this:

SQLWarning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /domains/no-shame.info/public_html/wp/config.php:1) in /domains/no-shame.info/public_html/wp/core.php on line 4

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /domains/no-shame.info/public_html/wp/config.php:1) in /domains/no-shame.info/public_html/wp/core.php on line 4

Warning: Cannot modify header information - headers already sent by (output started at /domains/no-shame.info/public_html/wp/config.php:1) in /domains/no-shame.info/public_html/wp/index.php on line 6

Warning: Cannot modify header information - headers already sent by (output started at /domains/no-shame.info/public_html/wp/config.php:1) in /domains/no-shame.info/public_html/wp/index.php on line 7

so i've been told that function session_start() must be called before headers...

but all scripts are started like this:

<?php

session_start();

include("config.php");
include("core.php");

header ("Content-type: text/vnd.wap.wml; charset=utf-8");
header ("Cache-Control: no-store; no-cache; must-revalidate");
echo("<?xml version=\"1.0\" encoding=\"UTF-8\"?>");
echo "<!DOCTYPE wml PUBLIC \"-//WAPFORUM//DTD WML 1.1//EN\"". " \"http://www.wapforum.org/DTD/wml_1.1.xml\">";

?>

<wml>

<?php.......

lavalair script is used.

how to fix this?

It's better to keep your mouth shut and give the impression that you're stupid, than to open it and remove all doubt. ⓣⓗⓔ ⓠⓤⓘⓔⓣⓔⓡ ⓨⓞⓤ ⓑⓔ©ⓞⓜⓔ, ⓣⓗⓔ ⓜⓞⓡⓔ ⓨⓞⓤ ⓐⓡⓔ ⓐⓑⓛⓔ ⓣⓞ ⓗⓔⓐⓡ ! ιη тнєσяу, тнє ρяα¢тι¢є ιѕ α яєѕυℓт σƒ тнє тнєσяу, вυт ιη ρяα¢тι¢є ιѕ тнє σρρσѕιтє.

キノgんイノ刀g 4 ア乇ムc乇 ノ丂 レノズ乇 キucズノ刀g 4 √ノ尺gノ刀ノイリ!

metulj Super moderator Principal · 1,726 posts #2

and another thing...

after account been moved..

browsers aren't displayed in user profiles anymore External image (may be gone) theres just blank now

what could be the problem?

It's better to keep your mouth shut and give the impression that you're stupid, than to open it and remove all doubt. ⓣⓗⓔ ⓠⓤⓘⓔⓣⓔⓡ ⓨⓞⓤ ⓑⓔ©ⓞⓜⓔ, ⓣⓗⓔ ⓜⓞⓡⓔ ⓨⓞⓤ ⓐⓡⓔ ⓐⓑⓛⓔ ⓣⓞ ⓗⓔⓐⓡ ! ιη тнєσяу, тнє ρяα¢тι¢є ιѕ α яєѕυℓт σƒ тнє тнєσяу, вυт ιη ρяα¢тι¢є ιѕ тнє σρρσѕιтє.

キノgんイノ刀g 4 ア乇ムc乇 ノ丂 レノズ乇 キucズノ刀g 4 √ノ尺gノ刀ノイリ!

metulj Super moderator Principal · 1,726 posts #3

ok first error is fixed now i've changed start of scripts to this:

<?php

header("Content-type: text/vnd.wap.wml; charset=utf-8");
header("Cache-Control: no-store; no-cache; must-revalidate");
echo("<?xml version=\"1.0\" encoding=\"UTF-8\"?>");
echo "<!DOCTYPE wml PUBLIC \"-//WAPFORUM//DTD WML 1.1//EN\"". " \"http://www.wapforum.org/DTD/wml_1.1.xml\">";
?>

<wml>

<?php

include("config.php");
include("core.php");
connectdb();
................

and works ok now..

but i do need help around displaying browsers in user profiles

It's better to keep your mouth shut and give the impression that you're stupid, than to open it and remove all doubt. ⓣⓗⓔ ⓠⓤⓘⓔⓣⓔⓡ ⓨⓞⓤ ⓑⓔ©ⓞⓜⓔ, ⓣⓗⓔ ⓜⓞⓡⓔ ⓨⓞⓤ ⓐⓡⓔ ⓐⓑⓛⓔ ⓣⓞ ⓗⓔⓐⓡ ! ιη тнєσяу, тнє ρяα¢тι¢є ιѕ α яєѕυℓт σƒ тнє тнєσяу, вυт ιη ρяα¢тι¢є ιѕ тнє σρρσѕιтє.

キノgんイノ刀g 4 ア乇ムc乇 ノ丂 レノズ乇 キucズノ刀g 4 √ノ尺gノ刀ノイリ!

crazybrumi Super moderator Principal · 1,064 posts #4
php_flag display_errors off

-- put that in htaccess and that should remove all your errors

php_flag register_globals on

-- if you cant register or login in your site you can yse that and that can also fix blank pages but very rarely

Want something coded email me at sales@webnwaphost.com for a prices.

http://flagcounter.com/more/W80q

metulj Super moderator Principal · 1,726 posts #5
php_flag display_errors off

-- put that in htaccess and that should remove all your errors

php_flag register_globals on

-- if you cant register or login in your site you can yse that and that can also fix blank pages but very rarely

thanks, but that was done since i've started to play with all this External image (may be gone) anyway those errors are sorted after i've changed start of srcipts..

only browser displaying doing my head now External image (may be gone)

It's better to keep your mouth shut and give the impression that you're stupid, than to open it and remove all doubt. ⓣⓗⓔ ⓠⓤⓘⓔⓣⓔⓡ ⓨⓞⓤ ⓑⓔ©ⓞⓜⓔ, ⓣⓗⓔ ⓜⓞⓡⓔ ⓨⓞⓤ ⓐⓡⓔ ⓐⓑⓛⓔ ⓣⓞ ⓗⓔⓐⓡ ! ιη тнєσяу, тнє ρяα¢тι¢є ιѕ α яєѕυℓт σƒ тнє тнєσяу, вυт ιη ρяα¢тι¢є ιѕ тнє σρρσѕιтє.

キノgんイノ刀g 4 ア乇ムc乇 ノ丂 レノズ乇 キucズノ刀g 4 √ノ尺gノ刀ノイリ!

metulj Super moderator Principal · 1,726 posts #7

whats ya site url ? and what scripy yu running

no much use of link.. site is more than less for local slovenian users as its fully translated to slovenian language.. and only mods and admins can see browser type in user profile.. i modified that from start

as for the script i've said in first post its lavalair aka RW script External image (may be gone)

It's better to keep your mouth shut and give the impression that you're stupid, than to open it and remove all doubt. ⓣⓗⓔ ⓠⓤⓘⓔⓣⓔⓡ ⓨⓞⓤ ⓑⓔ©ⓞⓜⓔ, ⓣⓗⓔ ⓜⓞⓡⓔ ⓨⓞⓤ ⓐⓡⓔ ⓐⓑⓛⓔ ⓣⓞ ⓗⓔⓐⓡ ! ιη тнєσяу, тнє ρяα¢тι¢є ιѕ α яєѕυℓт σƒ тнє тнєσяу, вυт ιη ρяα¢тι¢є ιѕ тнє σρρσѕιтє.

キノgんイノ刀g 4 ア乇ムc乇 ノ丂 レノズ乇 キucズノ刀g 4 √ノ尺gノ刀ノイリ!

metulj Super moderator Principal · 1,726 posts #9

what yu mean by browser displayin?

by default in user profile there should be displayed with what phone model or pc browser user is visiting site.. just i've modified that a bit... so only mods and admins can actually see browser type..

but now that doesnt work.. in line where browser should be displayed is now just empty

It's better to keep your mouth shut and give the impression that you're stupid, than to open it and remove all doubt. ⓣⓗⓔ ⓠⓤⓘⓔⓣⓔⓡ ⓨⓞⓤ ⓑⓔ©ⓞⓜⓔ, ⓣⓗⓔ ⓜⓞⓡⓔ ⓨⓞⓤ ⓐⓡⓔ ⓐⓑⓛⓔ ⓣⓞ ⓗⓔⓐⓡ ! ιη тнєσяу, тнє ρяα¢тι¢є ιѕ α яєѕυℓт σƒ тнє тнєσяу, вυт ιη ρяα¢тι¢є ιѕ тнє σρρσѕιтє.

キノgんイノ刀g 4 ア乇ムc乇 ノ丂 レノズ乇 キucズノ刀g 4 √ノ尺gノ刀ノイリ!

Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close