Captcha image niet zichtbaar
Via onderstaande link zie je het formulier:
https://www.tweedehandskantoormeubelen.be/contact.php
De afbeelding van de captcha is niet zichtbaar. Had een tijdje geleden een SSL certificaat geïnstalleerd en van te voren was het nog wel zichtbaar.
Misschien dat dit het probleem is.
Iemand die me kan helpen dit probleem op te lossen.
Alvast bedankt
Gewijzigd op 08/05/2019 14:30:11 door - Ariën -
Internal Server Error
Check je error_log. Daar staat in wat er mis gaat.
[11-Jan-2019 06:37:39] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20100525/pdo.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20100525/pdo.so: undefined symbol: zend_new_interned_string in Unknown on line 0
[11-Jan-2019 06:37:39] PHP Warning: PHP Startup: pdo_sqlite: Unable to initialize module
Module compiled with module API=20100525, debug=0, thread-safety=0
PHP compiled with module API=20060613, debug=0, thread-safety=0
These options need to match
in Unknown on line 0
[11-Jan-2019 06:37:39] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20100525/pdo_mysql.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20100525/pdo_mysql.so: undefined symbol: mysqlnd_allocator in Unknown on line 0
[11-Jan-2019 06:37:39] PHP Warning: require_once(ROOT_PATHapp/config/functions.inc.php) [<a href='function.require-once'>function.require-once</a>]: failed to open stream: No such file or directory in /home/tweede/public_html/album/app/config/config.sample.php on line 8
[11-Jan-2019 06:37:39] PHP Fatal error: require_once() [<a href='function.require'>function.require</a>]: Failed opening required 'ROOT_PATHapp/config/functions.inc.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/tweede/public_html/album/app/config/config.sample.php on line 8
[11-Jan-2019 06:37:40] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20100525/pdo.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20100525/pdo.so: undefined symbol: zend_new_interned_string in Unknown on line 0
[11-Jan-2019 06:37:40] PHP Warning: PHP Startup: pdo_sqlite: Unable to initialize module
Module compiled with module API=20100525, debug=0, thread-safety=0
PHP compiled with module API=20060613, debug=0, thread-safety=0
These options need to match
in Unknown on line 0
[11-Jan-2019 06:37:40] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20100525/pdo_mysql.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20100525/pdo_mysql.so: undefined symbol: mysqlnd_allocator in Unknown on line 0
[11-Jan-2019 06:37:40] PHP Warning: require_once(ROOT_PATHapp/config/functions.inc.php) [<a href='function.require-once'>function.require-once</a>]: failed to open stream: No such file or directory in /home/tweede/public_html/album/app/config/config.inc.php on line 8
[11-Jan-2019 06:37:40] PHP Fatal error: require_once() [<a href='function.require'>function.require</a>]: Failed opening required 'ROOT_PATHapp/config/functions.inc.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/tweede/public_html/album/app/config/config.inc.php on line 8
[11-Jan-2019 06:38:49] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20100525/pdo.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20100525/pdo.so: undefined symbol: zend_new_interned_string in Unknown on line 0
[11-Jan-2019 06:38:49] PHP Warning: PHP Startup: pdo_sqlite: Unable to initialize module
Module compiled with module API=20100525, debug=0, thread-safety=0
PHP compiled with module API=20060613, debug=0, thread-safety=0
These options need to match
in Unknown on line 0
[11-Jan-2019 06:38:49] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20100525/pdo_mysql.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20100525/pdo_mysql.so: undefined symbol: mysqlnd_allocator in Unknown on line 0
Het is nu in ieder geval geen 11-Jan-2019 meer. Dus pak de juiste logregels er eens bij.
[08-May-2019 14:13:03] PHP Warning: PHP Startup: pdo_sqlite: Unable to initialize module
Module compiled with module API=20100525, debug=0, thread-safety=0
PHP compiled with module API=20060613, debug=0, thread-safety=0
These options need to match
in Unknown on line 0
[08-May-2019 14:13:03] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20100525/pdo_mysql.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20100525/pdo_mysql.so: undefined symbol: mysqlnd_allocator in Unknown on line 0
[08-May-2019 14:13:17] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20100525/pdo.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20100525/pdo.so: undefined symbol: zend_new_interned_string in Unknown on line 0
[08-May-2019 14:13:17] PHP Warning: PHP Startup: pdo_sqlite: Unable to initialize module
Module compiled with module API=20100525, debug=0, thread-safety=0
PHP compiled with module API=20060613, debug=0, thread-safety=0
These options need to match
in Unknown on line 0
[08-May-2019 14:13:17] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20100525/pdo_mysql.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20100525/pdo_mysql.so: undefined symbol: mysqlnd_allocator in Unknown on line 0
[08-May-2019 14:13:35] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20100525/pdo.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20100525/pdo.so: undefined symbol: zend_new_interned_string in Unknown on line 0
[08-May-2019 14:13:35] PHP Warning: PHP Startup: pdo_sqlite: Unable to initialize module
Module compiled with module API=20100525, debug=0, thread-safety=0
PHP compiled with module API=20060613, debug=0, thread-safety=0
These options need to match
in Unknown on line 0
[08-May-2019 14:13:35] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20100525/pdo_mysql.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20100525/pdo_mysql.so: undefined symbol: mysqlnd_allocator in Unknown on line 0
[08-May-2019 14:14:01] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20100525/pdo.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20100525/pdo.so: undefined symbol: zend_new_interned_string in Unknown on line 0
[08-May-2019 14:14:01] PHP Warning: PHP Startup: pdo_sqlite: Unable to initialize module
Module compiled with module API=20100525, debug=0, thread-safety=0
PHP compiled with module API=20060613, debug=0, thread-safety=0
These options need to match
in Unknown on line 0
[08-May-2019 14:14:01] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20100525/pdo_mysql.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20100525/pdo_mysql.so: undefined symbol: mysqlnd_allocator in Unknown on line 0
[08-May-2019 14:15:33] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20100525/pdo.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20100525/pdo.so: undefined symbol: zend_new_interned_string in Unknown on line 0
[08-May-2019 14:15:33] PHP Warning: PHP Startup: pdo_sqlite: Unable to initialize module
Module compiled with module API=20100525, debug=0, thread-safety=0
PHP compiled with module API=20060613, debug=0, thread-safety=0
These options need to match
in Unknown on line 0
[08-May-2019 14:15:33] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20100525/pdo_mysql.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20100525/pdo_mysql.so: undefined symbol: mysqlnd_allocator in Unknown on line 0
[08-May-2019 14:19:13] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20100525/pdo.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20100525/pdo.so: undefined symbol: zend_new_interned_string in Unknown on line 0
[08-May-2019 14:19:13] PHP Warning: PHP Startup: pdo_sqlite: Unable to initialize module
Module compiled with module API=20100525, debug=0, thread-safety=0
PHP compiled with module API=20060613, debug=0, thread-safety=0
These options need to match
in Unknown on line 0
[08-May-2019 14:19:13] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20100525/pdo_mysql.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20100525/pdo_mysql.so: undefined symbol: mysqlnd_allocator in Unknown on line 0
[08-May-2019 14:19:18] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20100525/pdo.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20100525/pdo.so: undefined symbol: zend_new_interned_string in Unknown on line 0
[08-May-2019 14:19:18] PHP Warning: PHP Startup: pdo_sqlite: Unable to initialize module
Module compiled with module API=20100525, debug=0, thread-safety=0
PHP compiled with module API=20060613, debug=0, thread-safety=0
These options need to match
in Unknown on line 0
[08-May-2019 14:19:18] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20100525/pdo_mysql.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20100525/pdo_mysql.so: undefined symbol: mysqlnd_allocator in Unknown on line 0
[08-May-2019 14:19:19] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20100525/pdo.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20100525/pdo.so: undefined symbol: zend_new_interned_string in Unknown on line 0
[08-May-2019 14:19:19] PHP Warning: PHP Startup: pdo_sqlite: Unable to initialize module
Module compiled with module API=20100525, debug=0, thread-safety=0
PHP compiled with module API=20060613, debug=0, thread-safety=0
These options need to match
in Unknown on line 0
[08-May-2019 14:19:19] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20100525/pdo_mysql.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20100525/pdo_mysql.so: undefined symbol: mysqlnd_allocator in Unknown on line 0
[08-May-2019 14:20:32] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20100525/pdo.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20100525/pdo.so: undefined symbol: zend_new_interned_string in Unknown on line 0
[08-May-2019 14:20:32] PHP Warning: PHP Startup: pdo_sqlite: Unable to initialize module
Module compiled with module API=20100525, debug=0, thread-safety=0
PHP compiled with module API=20060613, debug=0, thread-safety=0
These options need to match
in Unknown on line 0
[08-May-2019 14:20:32] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20100525/pdo_mysql.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20100525/pdo_mysql.so: undefined symbol: mysqlnd_allocator in Unknown on line 0
[08-May-2019 14:20:33] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20100525/pdo.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20100525/pdo.so: undefined symbol: zend_new_interned_string in Unknown on line 0
[08-May-2019 14:20:33] PHP Warning: PHP Startup: pdo_sqlite: Unable to initialize module
Module compiled with module API=20100525, debug=0, thread-safety=0
PHP compiled with module API=20060613, debug=0, thread-safety=0
These options need to match
in Unknown on line 0
[08-May-2019 14:20:33] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20100525/pdo_mysql.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20100525/pdo_mysql.so: undefined symbol: mysqlnd_allocator in Unknown on line 0
[08-May-2019 14:20:34] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20100525/pdo.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20100525/pdo.so: undefined symbol: zend_new_interned_string in Unknown on line 0
[08-May-2019 14:20:34] PHP Warning: PHP Startup: pdo_sqlite: Unable to initialize module
Module compiled with module API=20100525, debug=0, thread-safety=0
PHP compiled with module API=20060613, debug=0, thread-safety=0
These options need to match
in Unknown on line 0
[08-May-2019 14:20:34] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20100525/pdo_mysql.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20100525/pdo_mysql.so: undefined symbol: mysqlnd_allocator in Unknown on line 0
[08-May-2019 14:20:35] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20100525/pdo.so' - /usr
Edit:
Gelieve voortaan bij lange logs of scripts alleen de relavante code te tonen, en geen honderden regels aan code. Daar heeft niemand behoefte aan! Bij deze heb ik deze post ingekort.
Gewijzigd op 08/05/2019 16:36:56 door - Ariën -
Zo te zien lijkt je script functie-bibliotheken zoals PDO en PDO-mysql te gebruiken die niet beschikbaar zijn.
Beheer je de server zelf, of laat je de site hosten? Welk hostingcontrolepaneel gebruik je?
Gewijzigd op 08/05/2019 14:56:12 door - Ariën -
https://www.alfanet.be/alfahosting
Dit is de hoster
Dit is de hoster
Je kan ook een bestand aanmaken met:
En kijken of je daar bij het uitvoeren PDO tegenkomt.
Gewijzigd op 08/05/2019 15:01:11 door - Ariën -
Heb het probleem nu voorgelegd aan het hostingbedrijf en hoop daar op een oplossing.
Een script 'breekt' niet zo snel als er een certificaat bij komt. Hoogstens dat je in HTML 'mixed content' krijgt als je een http-verzoek via https uitvoert. Bij afbeeldingen wordt je slotje geel, maar met css en javascript weigert de browser deze in te laden. Maar daar is hier geen sprake van te zijn, gezien je een 'server error' krijgt.
Beste
PHP 5.2 was nog actief via de .htaccess, geen idee of dat effectief vereist is maar de foute php.ini was daardoor actief, dat is nu aangepast en PHP 5.4 wordt gebruikt. Hoger kan ingesteld worden op verzoek van de account eigenaar/beheerder.
We zien daarnaast volgende foutmelding in de logs:
[Wed May 08 15:21:33 2019] [error] [client 84.193.33.245] Response header name '(anti-spam-content-type' contains invalid characters, aborting request
De melding ivm het ontbreken van PDO/PDO-mysql is verholpen, dat kwam door de foute php.ini die niet overeenkwam met de PHP versie.
Werden er aanpassingen gedaan aan het script want de fout zou zich nu in het script bevinden.
PHP 5.2 is al behoorlijk verouderd. En PHP 5.4 eigenlijk ook. Ik adviseer liever om te kijken of je site ook op PHP 7.2 of 7.3 kan draaien.
En idd vind dit zelf ook een oude php versie. Op men cms websites die ik elders host zit ik ook aan PHP 7.3
Eens voorleggen aan de hoster.
Welke nieuwe error zie je nu? (graag relevante lijnen)
Toevoeging op 08/05/2019 16:15:36:
OPGELOST! had niet het juiste bestand van captcha.php. Had dit van op mijn pc genomen maar was niet het juiste. Had nu via ftp het bestand captcha.php van de website van ciberg genomen en dit gekopieerd naar de website van tweedehandsmeubelen.
Nu is het opgelost.
Bedankt allen!!!
Gelieve voortaan relevante regels voor scripts of logs te tonen :-)