1

Topic: Empty screen issue after Ubuntu 12 to 14 upgrade (?PHP upgrade)

Hello,

After fresh install of Ubuntu 14.04 LTS, I imported labstore database into mysql and followed the instructions of setup. It loads the initial page, allows to browse and search tables, but if I try to add an entry I get an empty screen. The same happens if I go to Admin section, unless I disable authentication in config.php file. Disabling admin authentication however does not solve add new record empty screen. If I enable user authentication, I can not browse the database either.

Thanks for help.

2

Re: Empty screen issue after Ubuntu 12 to 14 upgrade (?PHP upgrade)

I do not have Ubuntu 14.04 but I just tried a fresh installation of the current version of LabStoRe under the Wampserver setup in Windows 7 (with Apache 2.2.17, PHP 5.3.5 and MySQL 5.0.7-dev; Wampserver info.http://www.wampserver.com/en/).

The installation went smoothly, and either with or without authentication enabled, the software functioned as expected, and I did not see the issue that you describe in latest versions of either the Firefox or Chrome browsers.

Without more information, I am unable to speculate what might be causing the 'empty screen' in your case.

Can you provide these details:

1. The PHP version in your setup
2. If the issue occurs with a different browser, other the one you have used
3. If, by chance, use of browser cookies have been disabled in the browser

Also, can you enable PHP error reporting by setting to '1' the '0' values on lines 135-136 of file config.php and let me know the message that appears on the 'empty screen' (if there is any such message)?

Thanks.

3

Re: Empty screen issue after Ubuntu 12 to 14 upgrade (?PHP upgrade)

1. PHP version is 5.5.9-1ubuntu4.3; Apache/2.4.7 (Ubuntu); MySQL mysql  Ver 14.14 Distrib 5.5.38, for debian-linux-gnu (x86_64) using readline 6.3
2. The issue is independent from the browser (tried Firefox and IE)
3. The cookies are enabled.

I have tried enabling the PHP error reporting, however no additional messages appeared. If I open "web developer" console in firefox, i get following:

"The character encoding of the HTML document was not declared. The document will render with garbled text in some browser configurations if the document contains characters from outside the US-ASCII range. The character encoding of the page must be declared in the document or in the transfer protocol."

I feel that there is likely something on my server configuration side that malfunctioning, since with previous Unbuntu version LasStoRe was running smoothly. It seems that every file within interface_creator folder fails to open.

Thanks a lot for the help.

4

Re: Empty screen issue after Ubuntu 12 to 14 upgrade (?PHP upgrade)

I wonder if there is a file permissions issue underlying this. Can you check permissions for the 'interface_creator' folder, and test if setting permissions to the folder and its contents to 755 or 777 helps? Thanks.

5

Re: Empty screen issue after Ubuntu 12 to 14 upgrade (?PHP upgrade)

Changing folder and contents permissions to 777 did not help.

6

Re: Empty screen issue after Ubuntu 12 to 14 upgrade (?PHP upgrade)

This is very odd. I am unable to think of any solution. I just installed the software on a Linux system on a remote server and, again, I do not see any issue. You probably have already re-checked the values for various parameters set in the config.php file -- $parentsite_url and $site_url, besides the MySQL-related parameters are important... I will post if I come up with any more idea.

7

Re: Empty screen issue after Ubuntu 12 to 14 upgrade (?PHP upgrade)

This is definitely something to do with 14.04 Ubuntu, which contains newer versions of Apache, PHP and mysql. I just reinstalled Ubuntu 12.04 and all runs fine.

8

Re: Empty screen issue after Ubuntu 12 to 14 upgrade (?PHP upgrade)

Please see this forum post for possible causes and fixes for the issue.

9

Re: Empty screen issue after Ubuntu 12 to 14 upgrade (?PHP upgrade)

I have now released an updated version (1.6.3) of LabStoRe. Please give it a try and see if it solves the issues that you have faced.

The new version, which I have tested with MySQL 5.5 and PHP 5.5, introduces compatibility with PHP that uses only the MySQLi and not the legacy MySQL extension to handle MySQL-related tasks. It also has many minor bug-fixes.

To update your existing LabStoRe setup:

(1) Make a backup copy of the existing LabStoRe software folder.
(2) Replace the content of the existing software folder with the content in the 'labstore' folder in the downloaded LabStoRe.1.6.3.zip file for LabStoRe 1.6.3.
(3) Replace content of the new labstore/interface_creator/uploads folder with that in the old sub-folder
(4) Edit MySQL, URL and authentication settings in labstore/config.php.