Printable Version of Topic

Click here to view this topic in its original format

Zymic Webmaster Forums _ PHP _ Help - Php Errors

Posted by: simonsoft Oct 28 2007, 09:16 AM

hi,

i hosted in zymichost. my supposed "clean" codes are displaying error now.

pls try simster.zymichost.com (but its a WAP forum, so u need OPERA or other emulators)

the main menu has several error messages
the login has disabled some file open functions
the hits counter in the index(after login) page is disabled too
and the rest of the site, has one or two, errors.


i hope the php functions are not restricted.
i hope the php error is set to more "silent" one.

thanks!

Posted by: jhsmurray Nov 19 2007, 11:24 PM

I'm not a php pro but I find it best to start with the first php error, and then fix one at a time. This is because they are all likely tied into the first error.

That said, it looks like you need to have another parameter for the fopen() function:

QUOTE
Warning: fopen() expects at least 2 parameters, 1 given in /www/zymichost.com/s/i/m/simster/htdocs/wap/index.php on line 3945
When you fix that, hopefully the rest will fall into place.

The first parameter is the filename, the second parameter is the method:
http://www.php.net/manual/en/function.fopen.php

Anyways good luck with it.

Powered by Invision Power Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)