Search found 13117 matches

by cmb
Mon Feb 18, 2019 1:17 pm
Forum: Deutsch
Topic: Fotorama_XH v 1.7.2
Replies: 71
Views: 2419

Re: Fotorama_XH v 1.7.2

was spricht gegen @end((explode('/', $parse['path']))) Ich persönlich finde, dass der @-Operator eher schadet als hilft, denn er unterdrückt praktisch alle Meldungen, auch solche, die man gar nicht vorhersehen kann. der Fehler tritt erst ab php 7 im Debug auf! Stimmt. Vorher war es nur eine harmlos...
by cmb
Mon Feb 18, 2019 11:51 am
Forum: Deutsch
Topic: Fotorama_XH v 1.7.2
Replies: 71
Views: 2419

Re: Fotorama_XH v 1.7.2

@Ick Die Meldung sollte eigentlich nicht erscheinen, wenn der Link zu YouTube richtig ist! Das Problem ist end((explode('/', $parse['path']))) end() sollte eigentlich immer eine Variable übergeben werden, aber in diesem Fall wird ein Ausdruck übergeben. Quick-Fix: end($temp = explode('/', $parse['p...
by cmb
Fri Feb 15, 2019 10:49 pm
Forum: Open Development
Topic: How to debug PHP script and find a failure?
Replies: 8
Views: 317

Re: How to debug PHP script and find a failure?

[…] or remains the insufficiency the same? Yes. It doesn't matter whether the validation is “done” by HTML5 form validation or JavaScript – the problem is if the validation is only done on the client side, visitors can cheat. It's quite easy to imagine someone using an old browser, for instance IE8...
by cmb
Fri Feb 15, 2019 5:39 pm
Forum: Templates
Topic: Some older templates problem with php 7.2.13
Replies: 5
Views: 230

Re: Some older templates problem with php 7.2.13

Still a small warning as follows: XH-DEPRECATED: Function editmenu() is deprecated /home/walhalles/domains/walhalles.be/public_html/ferrari/templates/ferrariclub/template.htm:45 However, everything works fine, so that should not be a problem? No, that's not an immediate problem, but since editmenu(...
by cmb
Fri Feb 15, 2019 4:06 pm
Forum: Open Development
Topic: How to debug PHP script and find a failure?
Replies: 8
Views: 317

Re: How to debug PHP script and find a failure?

Meantime, I've found very simple HTML5 way. <input..... required="required"> or <input..... required> So I could remove all other evaluating scripts. Client side validation is always insufficient, because it can easily be circumvented. It is just an additional convenience for visitors. On Registser...
by cmb
Fri Feb 15, 2019 2:17 pm
Forum: Open Development
Topic: How to debug PHP script and find a failure?
Replies: 8
Views: 317

Re: How to debug PHP script and find a failure?

The only is that if I register new user with no login data in register form, the login is possible also without adding any login data. register.php <?php if(isset($_POST["user"]) && isset($_POST["pass"])) { At the very least, change this to: <?php if(!empty($_POST["user"]) && !empty($_POST["pass"])...
by cmb
Fri Feb 15, 2019 12:40 pm
Forum: Templates
Topic: New Responsive Template - JekyllAndHyde
Replies: 98
Views: 12825

Re: New Responsive Template - JekyllAndHyde

frase wrote:
Fri Feb 15, 2019 11:44 am
"Kodierung automatisch erkennen" angehakt.
Das sollte wohl „Kodierung automatisch erraten” heißen. Viel mehr ist nämlich nicht wirklich möglich.
by cmb
Fri Feb 15, 2019 10:52 am
Forum: Templates
Topic: New Responsive Template - JekyllAndHyde
Replies: 98
Views: 12825

Re: New Responsive Template - JekyllAndHyde

Zunächst mal würde ich sicherstellen, dass die Sprachdatei bei normalen Seitenaufruf nicht geändert wird, indem ich die Schreibrechte für diese Datei entziehen würde. Versucht das System die Datei zu ändern, sollte zumindest der Debug-Modus etwas entsprechendes melden. Falls da aber nichts passiert,...
by cmb
Tue Feb 12, 2019 10:46 pm
Forum: Templates
Topic: Some older templates problem with php 7.2.13
Replies: 5
Views: 230

Re: Some older templates problem with php 7.2.13

OMG, this works! Fine. :) Note that this problem exists as of PHP 7.1.0 (not only PHP 7.2.13), and all existing templates with this potential issue should be fixed, even if they're running on an older PHP version yet. The fix above is compatible with whatever PHP version xtoc is compatible (at leas...
by cmb
Tue Feb 12, 2019 8:08 pm
Forum: Templates
Topic: Some older templates problem with php 7.2.13
Replies: 5
Views: 230

Re: Some older templates problem with php 7.2.13

There are a significant number of php errors. It seems that something is wrong in the combination of the template and the "xtoc menu", more specifically the vertical one. The fix should be as simple as replacing line 14 of xtoc.php with: function xtoc($start = null, $end = null) {global $c, $cl, $s...