ounCloud refresh file system with DB once files restored

I have been restoring several files under specific user into ownCloud solution; I have found in some forum that we could refresh the files records upon the filesystem.

 

The table name is : oc_filecache

If you delete manually all the content of this table (something like : Delete * from oc_filecache); Logout and login back; All the content would be refreshed.

Continue reading “ounCloud refresh file system with DB once files restored”

PHP Warning: phpinfo(): It is not safe to rely on the system’s timezone settings.

Having set the PHP Engine running on Domino Server; Any/All request to access to some PHP files filling up my log.nsf of this type of entries and warning:

PHP Warning:  phpinfo(): It is not safe to rely on the system's 
timezone settings. You are *required* to use the date.timezone 
setting or the date_default_timezone_set() function. 
In case you used any of those methods and you are still 
getting this warning, you most likely misspelled the timezone 
identifier. We selected the timezone 'UTC' for now, 
but please set date.timezone to select your timezone. 
in E:\IBM\Lotus\Domino\data\domino\html\info.php on line 4

One more thing is needed to be set into the php.ini file:

Set this line:

date.timezone = "UTC"

Or and based on your location; including the list of Supported Timezones

http://pl.php.net/manual/en/timezones.php

Domino server running PHP CGI /Install/implement PHP on Domino Windows Server

I have been looking the trick to run PHP engine into a Domino server;

By default, Domino Server does not support PHP; However I am including the step by step instructions on how to implement it into Domino Server on Windows Machine.

You need first the PHP binaries:

http://windows.php.net/download/

I have been using the version (5.4.9), downloadable here.

– Uncompress the content of this zip file.

Continue reading “Domino server running PHP CGI /Install/implement PHP on Domino Windows Server”