Avatar

2 Errors (Bugs)

by Micha ⌂, Saturday, June 02, 2007, 18:22 (4460 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

Avatar

2 Errors

by Micha ⌂, Saturday, June 02, 2007, 22:03 (4460 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

Avatar

Umlaut-Problem

by Micha ⌂, Monday, June 25, 2007, 18:34 (4437 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

Umlaut-Problem

by Beate ⌂ @, Germany, Friday, July 06, 2007, 18:24 (4426 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.

Avatar

Umlaut-Problem

by Micha ⌂, Saturday, July 07, 2007, 15:50 (4425 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

Umlaut-Problem

by beate @, Germany, Saturday, July 07, 2007, 17:51 (4425 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...

Avatar

Umlaut-Problem

by Micha ⌂, Sunday, July 08, 2007, 12:30 (4425 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

Avatar

sessionid

by Micha ⌂, Wednesday, July 11, 2007, 05:09 (4422 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

Use of ampersand in URLs

by Auge, Berlin, Germany, Tuesday, August 07, 2007, 20:58 (4394 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

correction

by Auge, Berlin., Germany, Tuesday, August 07, 2007, 21:05 (4394 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*

Avatar

Use of ampersand in URLs

by Micha ⌂, Wednesday, August 08, 2007, 19:27 (4393 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

RSS Feed of thread
powered by my little forum