updatedb.php failing with blank screen

Installing and configuring Tera-WURFL on your server.

updatedb.php failing with blank screen

Postby tkroll » Thu Mar 24, 2011 8:47 am

Hello,

updatedb.php is failing with no errors. Don't see anything in error logs either. install.php exectues fine. Tables are created.
DATADIR chmod 777 and chgrp to nobody:nobody

Noticed updatedb.php didn't have the trailing ?>. Added that but it didn't help. Also ran the file from the shell and it
give Segmentation Fault.

I'm on a dedicated Liquid Web server.

Any ideas?

Thanks.
tkroll
 
Posts: 3
Joined: Thu Mar 24, 2011 8:35 am

Re: updatedb.php failing with blank screen

Postby kamermans » Thu Mar 24, 2011 10:33 pm

A segfault is a serious error, can you try the suggestion in this post:? viewtopic.php?f=2&t=97#p441

I have heard that some people have a segfault when using XMLReader.

The trailing ?> is not required and is no longer recommended since it makes it easy to accidentally add whitespace to the script output.
Thanks,

Steve Kamerman
Tera-WURFL Author
COO of ScientiaMobile

IMPORTANT ANNOUNCEMENT! Tera-WURFL and WURFL have joined forces! We have launched ScientiaMobile to provide commercial support for our device detection solutions.

Tera-WURFL.com | Device Explorer
kamermans
Site Admin
 
Posts: 323
Joined: Wed Mar 10, 2010 12:06 pm
Location: Fort Worth, TX

Re: updatedb.php failing with blank screen

Postby tkroll » Fri Mar 25, 2011 3:47 am

Thanks for the quick response.

Your first response to OP fixed it.

Cheers,
Ty
tkroll
 
Posts: 3
Joined: Thu Mar 24, 2011 8:35 am

Re: updatedb.php failing with blank screen

Postby kamermans » Fri Apr 29, 2011 12:09 am

If you don't mind helping me narrow this problem down, can you please paste this code into a file on the server you were having problems with and visiting it in a browser, then replying with the result? I'm trying to narrow down which versions of XMLReader / libxml are causing the fault.
Code: Select all
<pre>
<?php
echo "PHP ".phpversion()."\n\n";
$exts = array('xml', 'libxml', 'SimpleXML', 'XMLReader', 'mysql', 'MySQLi');
foreach($exts as $extname){
   try{
      $ext = new ReflectionExtension($extname);
      echo $ext->info();
   }catch(Exception $e){
      echo "ERROR: Extension $extname is not available\n\n";
   }
}
?>
</pre>
Thanks,

Steve Kamerman
Tera-WURFL Author
COO of ScientiaMobile

IMPORTANT ANNOUNCEMENT! Tera-WURFL and WURFL have joined forces! We have launched ScientiaMobile to provide commercial support for our device detection solutions.

Tera-WURFL.com | Device Explorer
kamermans
Site Admin
 
Posts: 323
Joined: Wed Mar 10, 2010 12:06 pm
Location: Fort Worth, TX

Re: updatedb.php failing with blank screen

Postby tkroll » Fri Apr 29, 2011 3:41 am

PHP 5.3.6
xml
XML Support active
XML Namespace Support active
libxml2 Version 2.7.8

libxml
libXML support active
libXML Compiled Version 2.7.8
libXML Loaded Version 20708
libXML streams enabled

SimpleXML
Simplexml support enabled
Revision $Revision: 308262 $
Schema support enabled

xmlreader
XMLReader enabled

mysql
MySQL Support enabled
Active Persistent Links 0
Active Links 0
Client API version 5.0.92
MYSQL_MODULE_TYPE external
MYSQL_SOCKET /var/lib/mysql/mysql.sock
MYSQL_INCLUDE -I/usr/include/mysql
MYSQL_LIBS -L/usr/lib64 -lmysqlclient

Directive Local Value Master Value
mysql.allow_persistent On On
mysql.max_persistent Unlimited Unlimited
mysql.max_links Unlimited Unlimited
mysql.default_host no value no value
mysql.default_user no value no value
mysql.default_password no value no value
mysql.default_port no value no value
mysql.default_socket /var/lib/mysql/mysql.sock /var/lib/mysql/mysql.sock
mysql.connect_timeout 60 60
mysql.trace_mode Off Off
mysql.allow_local_infile On On

mysqli
MysqlI Support enabled
Client API library version 5.0.92
Active Persistent Links 0
Inactive Persistent Links 0
Active Links 0
Client API header version 5.0.92
MYSQLI_SOCKET /var/lib/mysql/mysql.sock

Directive Local Value Master Value
mysqli.max_links Unlimited Unlimited
mysqli.max_persistent Unlimited Unlimited
mysqli.allow_persistent On On
mysqli.default_host no value no value
mysqli.default_user no value no value
mysqli.default_pw no value no value
mysqli.default_port 3306 3306
mysqli.default_socket /var/lib/mysql/mysql.sock /var/lib/mysql/mysql.sock
mysqli.reconnect Off Off
mysqli.allow_local_infile On On
tkroll
 
Posts: 3
Joined: Thu Mar 24, 2011 8:35 am

Re: updatedb.php failing with blank screen

Postby kamermans » Fri Apr 29, 2011 9:56 am

Thanks for the info tkroll!
Thanks,

Steve Kamerman
Tera-WURFL Author
COO of ScientiaMobile

IMPORTANT ANNOUNCEMENT! Tera-WURFL and WURFL have joined forces! We have launched ScientiaMobile to provide commercial support for our device detection solutions.

Tera-WURFL.com | Device Explorer
kamermans
Site Admin
 
Posts: 323
Joined: Wed Mar 10, 2010 12:06 pm
Location: Fort Worth, TX


Return to Installation / Configuration

Who is online

Users browsing this forum: No registered users and 3 guests

cron