php error in the forum< Sujet précédent  Sujet suivant >
Index du Forum -> NUKED-KLAN (English Support) -> Bug reports

Page : [1] 2 >
AuteurMessage
Italy.gif thedetox
Junior Member


Messages : 18
Inscrit le: 04.06.2010
Posté le 06.06.2010 17:20  
php error in the forum
Hey, when users click on "forums"
they get this messege
strftime() expects parameter 2 to be long, string given in

httpdocs/modules/Forum/main.php on line 39

wich is:
$your_last_visite = strftime("%A %B %d %Y, %H:%M", $user_last_visit);

Don't know what to do


Revenir en haut | Permalien
Italy.gif thedetox
Junior Member


Messages : 18
Inscrit le: 04.06.2010
Posté le 06.06.2010 20:38  
RE : php error in the forum
Don't know why but the error seems to be gone...
but now i get this

Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in httpdocs/modules/Forum/viewforum.php on line 145
I can still see the forum, but don't know what this error implies(what i cannot do and etc)
Has anyone encouter this error?


Revenir en haut | Permalien
Italy.gif thedetox
Junior Member


Messages : 18
Inscrit le: 04.06.2010
Posté le 10.06.2010 13:23  
RE : php error in the forum
Hello?

Revenir en haut | Permalien
Italy.gif thedetox
Junior Member


Messages : 18
Inscrit le: 04.06.2010
Posté le 29.07.2010 17:20  
RE : php error in the forum
Hello?
I'm about to switch to another CMS :\\
the forums are essential for my community

Could anyone answer me please?

Revenir en haut | Permalien
Belgium.gif PePeRePeRveRs
Modérateur

Messages : 1666
Inscrit le: 13.06.2004
Posté le 30.07.2010 01:02  
RE : php error in the forum
Hi,

I moved your message to english support forum...

You have this error because your database contains one or more empty messages.
With phpmyadmin, delete all empty messages or all messages that have no date.
If you can code a little, you can also put an isset on date request to avoid error.

If you had tried to use search (with this error), you would have found the answer

______________________________________________________

AVANT DE POSTER, UTILISEZ LA RECHERCHE ET LE WIKI !
!! PAS DE SUPPORT PAR MP - NO SUPPORT BY PM !!

Revenir en haut | Permalien
Italy.gif thedetox
Junior Member


Messages : 18
Inscrit le: 04.06.2010
Posté le 30.07.2010 12:17  
RE : php error in the forum
Thanks PePeRePeRveRs
I searched in the forum, but all the results i got were in french, and i dont speak it :\\
What you mean by empty messages? i logged on phpmyadmin and checked the structure of each table and also the content.
Can't see any problem that an occasional coder can see


Revenir en haut | Permalien
Belgium.gif PePeRePeRveRs
Modérateur

Messages : 1666
Inscrit le: 13.06.2004
Posté le 30.07.2010 21:04  
RE : php error in the forum
Check these two databases: nuked_forums_messages and nuked_forums_threads.
Search for an entry (or more) that have no valid date, empty date or probably no date, no message, no user,...

______________________________________________________

AVANT DE POSTER, UTILISEZ LA RECHERCHE ET LE WIKI !
!! PAS DE SUPPORT PAR MP - NO SUPPORT BY PM !!

Revenir en haut | Permalien
Italy.gif thedetox
Junior Member


Messages : 18
Inscrit le: 04.06.2010
Posté le 03.08.2010 04:30  
RE : php error in the forum
I just checked, since no threads could be opened, the forums tables are empty so there is no
(the button "open a new topic" is missing)

Revenir en haut | Permalien
France.gif f1.jeanphi
Responsable Suggestion

Messages : 745
Inscrit le: 14.02.2008
Posté le 03.08.2010 07:23  
RE : php error in the forum
What is the link of your site?

F1.JeanPhi Alias Game_Fr

Revenir en haut | Permalien
Italy.gif thedetox
Junior Member


Messages : 18
Inscrit le: 04.06.2010
Posté le 03.08.2010 12:30  
RE : php error in the forum
http://gowklan.gamehosting.it/

go to forums and click any section, then you see the php error message

Revenir en haut | Permalien
Page : [1] 2 >
  • Français
  • English
  • Deusth