Avatar

2 Errors (Bugs)

by Micha ⌂, (6530 days ago)

Hi,

I get 2 errors in Opera and Firefox:


Fehler: syntax error
Quelldatei: http://localhost/forum/js/slider.js
Zeile: 1, Spalte: 1
Quelltext:
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

and


Fehler: syntax error
Quelldatei: http://localhost/forum/js/controls.js
Zeile: 1, Spalte: 1
Quelltext:
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

If I look at the source, I dont see an error - I dont see a script. :lookaround:

Btw. slider.js isnt in the directory js - there is no script called slider.js

How can I fix it?

Micha

--
applied-geodesy.org - OpenSource Least-Squares Adjustment Software for Geodetic Sciences

locked
14981 views
Avatar

2 Errors

by Micha ⌂, (6530 days ago) @ Micha

Hi,

I have put 2 empty files (slider.js and controls.js) in the js directory to hidde the script-error.

Milo

--
applied-geodesy.org - OpenSource Least-Squares Adjustment Software for Geodetic Sciences

locked
14222 views
Avatar

Umlaut-Problem

by Micha ⌂, (6507 days ago) @ Micha

Hi,

I have change the entry.inc.php cause the ajax-preview dont show the umlauts (ä,ü,ö and so on)

Line: 88-94:

 
 // add Charset by Michael Loesler, 25.06.2007 - http://derletztekick.com
 if(isset($_REQUEST['ajax_preview']))
  {
   header('Content-Type: application/xml; charset='.$lang['charset']);
   echo '<?xml version="1.0" encoding="'.$lang['charset'].'"?>';
   ?><posting><content><![CDATA[<?php echo $ftext; ?>]]></content></posting><?php
   exit;
  }
 

Micha

P.S. no BB-Tag, code?

--
applied-geodesy.org - OpenSource Least-Squares Adjustment Software for Geodetic Sciences

locked
14234 views

Umlaut-Problem

by Beate ⌂ @, Germany, (6496 days ago) @ Micha

RSS-Bookmarks and ü,ä,ö... not working, too.

I've added a second line to
/includes/rss.inc.php:

header('Content-Type: text/xml; charset='.$lang['charset']);

No clue if I did wrong or not - but it's working.

locked
14140 views
Avatar

Umlaut-Problem

by Micha ⌂, (6495 days ago) @ Beate

Hi,

RSS-Bookmarks and ü,ä,ö... not working, too.

Yes? I dont have any problems with opera and firefox. In the rss.tpl file I found:

<?xml version="1.0" encoding="{#charset#}"?>

and the header (firefox):


Date: Sat, 07 Jul 2007 15:47:40 GMT
Server: Apache 3 - HOSTMerit
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Pragma: no-cache
X-Powered-By: PHP/4.4.4
Set-Cookie: bb2_screener_=1183823260+62.214.236.248; path=/
mlf2_last_visit=1183822539.1183823260; expires=Mon, 06 Aug 2007 15:47:40 GMT
Keep-Alive: timeout=15, max=100
Connection: Keep-Alive
Content-Type: text/xml; charset: ISO-8859-1
Content-Encoding: gzip
Content-Length: 1774

200 OK

Micha

--
applied-geodesy.org - OpenSource Least-Squares Adjustment Software for Geodetic Sciences

locked
14084 views

Umlaut-Problem

by beate @, Germany, (6495 days ago) @ Micha

Umm, yes you are right. I got trapped by my unstable working server. :-| sigh

Another problem: The W3C-Validator don't like the missing AmberSand &. Where are those (...&PHPSESSION...) to be changed to &amp;s?

stringreplace in

function.php

does not do as expected. More or less a trial and error lesson...

locked
13942 views
Avatar

Umlaut-Problem

by Micha ⌂, (6494 days ago) @ beate

Hi,

Another problem: The W3C-Validator don't like the missing AmberSand &. Where are those (...&PHPSESSION...) to be changed to &amp;s?

Testing this in the head (beginning of the script - index.php):

ini_set('arg_separator.output', '&amp;');

I have the same problem on the page diegeodaeten.de with the session id.

Micha

--
applied-geodesy.org - OpenSource Least-Squares Adjustment Software for Geodetic Sciences

locked
14173 views
Avatar

sessionid

by Micha ⌂, (6492 days ago) @ beate

Hi,

or you use this one:

ini_set('session.use_trans_sid',0);

See SELFHTML-Forum ;-)

Milo

--
applied-geodesy.org - OpenSource Least-Squares Adjustment Software for Geodetic Sciences

locked
14210 views

Use of ampersand in URLs

by Auge, Berlin, Germany, (6464 days ago) @ Micha

Hallo

or you use this one:

ini_set('session.use_trans_sid',0);

If you do so, you have to put the session ID to every link handly if an user do not accept cookies. But your suggestion is wrong in another reason. What will you do with other parameters wich also used with ampersand in URLs?

See SELFHTML-Forum

Once again: SELFHTML-Forum
I took away the "/my" from your URL. Noone who isn't registred to the SELFHTML-Forum would see what you mean. ;-)

Tschö, Auge

locked
14196 views

correction

by Auge, Berlin., Germany, (6464 days ago) @ Auge

Hallo

I took away the "/my" from your URL. <del>Noone who isn't registred on</del> ...

correction:
<ins>Everybody who isn't registered in</ins> ...

... the SELFHTML-Forum would see what you mean. ;-)

Tschö, Auge

Scheiß Negation der Negation! *grml*

locked
14051 views
Avatar

Use of ampersand in URLs

by Micha ⌂, (6463 days ago) @ Auge

Hi,

What will you do with other parameters wich also used with ampersand in URLs?

I am useing &amp;, what else? I donot know what you mean.

I took away the "/my" from your URL.

Oh, yes of cource! Thank you.

cu Micha

--
applied-geodesy.org - OpenSource Least-Squares Adjustment Software for Geodetic Sciences

locked
13976 views

RSS Feed of thread