Fehler beim Anlegen neuer Einträge

In this board you can talk about general questions about phpMyFAQ

Moderator: Thorsten

Post Reply
Andy
Posts: 87
Joined: Fri Mar 07, 2003 10:58 am

Fehler beim Anlegen neuer Einträge

Post by Andy »

Beim erstellen eines neuen Eintrag tut sich beim Abschicken gar nicht mehr.
Es dreht sich nur noch die Sanduhr.

Vorschau ist dagegen möglich.

Andere Aktionen wie z.B. das Anlegen von Benutzern ist möglich.


Folgende Einträge sind im php-error.log zu finden:
[06-Jun-2007 10:51:52] PHP Warning: in_array() [<a href='function.in-array'>function.in-array</a>]: Wrong datatype for second argument in C:\Inetpub\wwwroot\faq\inc\PMF_User\PermMedium.php on line 652

[06-Jun-2007 10:55:20] PHP Fatal error: Call to undefined function imagecreate() in C:\Inetpub\wwwroot\faq\inc\captcha.php on line 352
Thorsten
Posts: 15561
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,

den ersten Fehler schau ich mir an. Der zweite ist fehlender Support der GD Library bei dir im PHP.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
Thorsten
Posts: 15561
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,

ändere Zeile 652 in der inc/PMF_User/PermMedium.php mal in das:

Code: Select all

($group_id == $groups) ? ' selected="selected"' : '',
klappts dann?

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
Andy
Posts: 87
Joined: Fri Mar 07, 2003 10:58 am

Post by Andy »

OK, geändert.

Aber neue Fehlermdlung:
[06-Jun-2007 13:20:17] PHP Warning: mysql_fetch_object(): supplied argument is not a valid MySQL result resource in C:\Inetpub\wwwroot\faq\inc\PMF_DB\Mysql.php on line 119
[06-Jun-2007 13:20:19] PHP Fatal error: Call to undefined function imagecreate() in C:\Inetpub\wwwroot\faq\inc\captcha.php on line 352
[06-Jun-2007 13:20:34] PHP Warning: mysql_fetch_object(): supplied argument is not a valid MySQL result resource in C:\Inetpub\wwwroot\faq\inc\PMF_DB\Mysql.php on line 119
[06-Jun-2007 13:20:35] PHP Fatal error: Call to undefined function imagecreate() in C:\Inetpub\wwwroot\faq\inc\captcha.php on line 352
Wobei mir jetzt aufgefallen ist, das der Eintrag gespeichert wurde.
Der Eintrag taucht aber nicht unter den neuesten Beiträgen auf und die Kategorie wird auch nicht angezeigt.
Thorsten
Posts: 15561
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,

kannst du mir mal den Dump deiner DB zusenden?

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
Andy
Posts: 87
Joined: Fri Mar 07, 2003 10:58 am

Post by Andy »

Mail ist eben raus.
Andy
Posts: 87
Joined: Fri Mar 07, 2003 10:58 am

Post by Andy »

OK, Problem wurde per Email gelöst. Super Support :wink:
Post Reply