| View previous topic :: View next topic |
| Author |
Message |
stefan
Joined: 17 Apr 2006 Posts: 35 Location: Germany
|
Posted: Wed Sep 13, 2006 9:53 pm Post subject: app doesnt work after update |
|
|
hey gys i've update my gnope to v1.5.1. but somehow isn't my application working anymore...
for some reasons, i encounter a problem with DOM now. the method getElementById doesn't return the wanted element. with the former gnope it works???
any ideas??
also does the following:
| Code: | | $this->set_uposition(Gdk::screen_width() / 2, Gdk::screen_height() / 2); |
doesnt work |
|
| Back to top |
|
 |
cweiske
Joined: 08 Dec 2005 Posts: 454 Location: Leipzig/Germany
|
Posted: Wed Sep 13, 2006 10:36 pm Post subject: |
|
|
| what does the errors say? Gdk::screen_width() has been moved to GdkScreen::width(), the same with height |
|
| Back to top |
|
 |
stefan
Joined: 17 Apr 2006 Posts: 35 Location: Germany
|
Posted: Wed Sep 13, 2006 10:44 pm Post subject: |
|
|
yep, that works, but more urgent is my problem with getElementById()!
of course, i do validate the dom with schemavalidate('foo.xsd') and as said, with the former gnope it works.
are there any changes with dom in php5.1.4?? searching the net provided nothing. |
|
| Back to top |
|
 |
cweiske
Joined: 08 Dec 2005 Posts: 454 Location: Leipzig/Germany
|
Posted: Wed Sep 13, 2006 10:57 pm Post subject: |
|
|
I would think there is a typo somewhere, but you probably checked that.
You could just swap the php versions and see if it makes a difference; gnope 1.0 used php 5.1.1 and gnope 1.5.1 uses php 5.1.4. php-gtk doesn't have any influence on the dom methods. |
|
| Back to top |
|
 |
stefan
Joined: 17 Apr 2006 Posts: 35 Location: Germany
|
Posted: Thu Sep 14, 2006 12:22 am Post subject: |
|
|
it can't be a typo, cos it works on gnope 1.0
i agree with you, that it depends on the php version, but i havent found anything on the net, where something like the change of some dom-functions was mentioned. |
|
| Back to top |
|
 |
stefan
Joined: 17 Apr 2006 Posts: 35 Location: Germany
|
Posted: Sun Dec 10, 2006 9:33 pm Post subject: |
|
|
just to let you know, if some encounters a similar problem:
if youre working with XMLDOM and getElementById, you need to set the parseOnValidate property of XMLDOM to true!!! dont ask why, but now it works!!! gosh am i happy  |
|
| Back to top |
|
 |
|