[Serusers] Re: SerWeb Displays blank page

mkumar at mantragroup.com mkumar at mantragroup.com
Fri Feb 17 17:27:28 CET 2006



Finally my problem is solved, php code in page.php under html dir caused
problems. After calls to virtual() nothing happens, php dies and
displays blank page. Now I need to fix this php problem.

> Quoting mkumar at mantragroup.com:
>
>> Hello Serusers,
>>
>> Now I fixed all my php,apache errors and again I have the same blank page
>> problem. Previously we had serweb on a different machine and even 
>> there we had
>> problems. So especially for serweb we took a new unix box and 
>> installed serweb
>> there and even here we had another problem. In our previous machine 
>> page use to
>> display after 5 to 10 attempts but here it always displays the title page as
>> "SIP Express Router Web interface" but I could never find the login 
>> screen. My
>> phpinfo page is http://serweb.mantragroup.com/ser/html/admin/phpinfo.php I
>> eneabled display errors and log errors for php
>>
>> My admin login page is
>>
>> http://serweb.mantragroup.com/ser/html/admin/index.php
>>
>> Please check page source of admin index.php and I have learnt from 
>> my previous
>> installation that it should have some java script etc for displaying 
>> username,
>> password etc but this page do not have. I also checked paths for 
>> style.css and
>> login_completion.js.php both are correct. What else should I do? I posted in
>> some php forums also but could not fix. Please help me understand and fix my
>> problem. I will send if any config files are needed.
>>
>> Thanks for your help and time,
>> Manoj.
>>
>>
>> Quoting Karel Kozlik <karel at iptel.org>:
>>
>>>> Sorry for that, now I changed some paths. I got this error
>>>>
>>>> Warning: main(): open_basedir restriction in effect.
>>>> File(/usr/share/pear/DB.php) is not within the allowed path(s):
>>>>
>>>> So I used /tmp dir, anyway I changed to /usr/shae/pear/. I am 
>>>> searching for
>>>> fixing this errors. I changed /etc/php.ini open_basedir global 
>>>> value but unable
>>>> to change local value so I still have same problem?
>>>
>>> open_basedir should not be set. And as I see it is not. So it is correct.
>>>
>>> The error messages I see on your serweb now say you have not 
>>> installed xml_rpc package from PEAR. Strange - it should be 
>>> installed by default with PEAR.
>>>
>>> You may install it by type:
>>>
>>> pear install xml_rpc
>>>
>>>
>>> Karel
>>>
>>>
>>>
>>>
>>>
>>>>
>>>> Quoting Karel Kozlik <karel at iptel.org>:
>>>>
>>>>>> I enabled logging and also restarted Apache but even now I could 
>>>>>> not find any
>>>>>> error message and still it displays blank page. Please check my 
>>>>>> phpinfo at
>>>>>
>>>>> To me it displays this errors:
>>>>>
>>>>> Warning: main(./PEAR.php): failed to open stream: No such file or 
>>>>> directory in /tmp/DB.php on line 26
>>>>>
>>>>> Fatal error: main(): Failed opening required './PEAR.php' 
>>>>> (include_path='.:/usr/share/pear') in /tmp/DB.php on line 26
>>>>>
>>>>>
>>>>> It signify there is something wrong in your PEAR library. Do you 
>>>>> have installed it correctly? The path /tmp/... is strange for me.
>>>>>
>>>>> Karel
>>>>>
>>>>>> http://serweb.mantragroup.com/serweb/html/admin/test.php Is 
>>>>>> there anything
>>>>>> wrong with this related to serweb.
>>>>>>
>>>>>> Quoting Karel Kozlik <karel at iptel.org>:
>>>>>>
>>>>>>> Hi,
>>>>>>> if no error message is logged it means logging is disabled.. :-)
>>>>>>>
>>>>>>> Set this values in your php.ini:
>>>>>>>
>>>>>>> error_reporting  =  E_ALL
>>>>>>> log_errors = On
>>>>>>> (for write errors to log file)
>>>>>>>
>>>>>>> and/or
>>>>>>>
>>>>>>> display_errors = On
>>>>>>> (for display error in browser)
>>>>>>>
>>>>>>>
>>>>>>> Karel
>>>>>>>
>>>>>>>
>>>>>>> mkumar at mantragroup.com napsal(a):
>>>>>>>> Hi All,
>>>>>>>>
>>>>>>>> I am using serweb stable 0.9.2 version and I followed all the 
>>>>>>>> steps in INSTALL
>>>>>>>> file that comes with the installation. After my configuration 
>>>>>>>> when I try to
>>>>>>>> load the url
>>>>>>>>
>>>>>>>> http://serweb.mantragroup.com/serweb/html/admin/index.php
>>>>>>>>
>>>>>>>> strangly nothing is getting displayed and no error messages 
>>>>>>>> are logged in any
>>>>>>>> log. I am using
>>>>>>>>
>>>>>>>> Apache/2.0.51
>>>>>>>> PHP 4.4.1
>>>>>>>> Mysql 4.0.25
>>>>>>>>
>>>>>>>> Did anyone experience this problem before? Please tell me what 
>>>>>>>> should I do to
>>>>>>>> configure serweb properly?
>>>>>>>>
>>>>>>>> Thanks,
>>>>>>>> Kumar.
>>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>
>>>>
>>>>
>>>
>>
>>
>>
>> _______________________________________________
>> Serusers mailing list
>> serusers at lists.iptel.org
>> http://lists.iptel.org/mailman/listinfo/serusers
>>
>
>
>
>






More information about the sr-users mailing list