View Single Post
Old May 17th, 2010, 11:54 AM   #10 (permalink)
Luciano
Registered User
 
Join Date: Aug 2005
Posts: 1,229
well i have running php53 running on my dev and if i run the installer.. i get a blank page just the vbgallery header (for install) and a warning..
Quote:
Warning: substr() expects parameter 2 to be long, string given in C:\apache\apache2\htdocs\babelsite\forums\admincp\vbgallery_install.php on line 1459
If warnings are suppressed i get the blank page without the warnings...
there is one way to fix it...
good news about seeing the errors.. i found the problem..

on line 1459 find

Code:
Content visible to verified customers only.
change the '' to 0
that gives
Code:
Content visible to verified customers only.
and it works..

This should not be a warning, but an error message, because php 5.3 stops on that.. in php 5.2 it still accepted the '' parameter instead of 0

Luc

PS: thats why i suggested he should downgrade to php 5.2
when compiling php i guess there is a flag like halt on errors.. as i cant overrule this even if i set php.ini to suppress errors..
Luciano is offline   Reply With Quote