iRail / The-DataTank

DEPRECATED - new repo at http://github.com/tdt/core
http://thedatatank.com
26 stars 9 forks source link

Any known issues with PHP versions or any special modules needed? #115

Closed dtrdewaele closed 12 years ago

dtrdewaele commented 12 years ago

DataTank installed at MAMP on PHP 5.3.6 and works perfect. Same branch (develop) installed on PHP 5.3.8 and CSV import does not work...

Are there any special requirements next to PHP 5.3.X?

Regards

Dieter

coreation commented 12 years ago

Hmm, not that I know of, I'll check and see what version I have and get back to you asap.

dtrdewaele commented 12 years ago

I fixed a PHP error, so I now get error info from TDT.

Ik keep getting This package name ( packagename here ) has not been created yet.

On localhost, everything goes ok :)

coreation commented 12 years ago

So if I understand it correctly you have 2 TDT instances, one localhost one on some server ? On localhost everything goes well, on the remote one not ? You could check in the database back-end if the package and/or resource has been created.

coreation commented 12 years ago

Hmm, by looking at the changelog of php they did change something to fgetcsv() , but it's a bug fix rather than a functionality change.

coreation commented 12 years ago

Hej dieter,

I just did an installation on my desktop of the datatank, with a brand new wampserver containing php 5.3.8 and a csv import works fine... Any updates on the error from your side ?

dtrdewaele commented 12 years ago

Hi, I wasn't at the office yesterday and could not access the PhpMyAdmin :) The resource isn't created in the DB... Very strange...

dtrdewaele commented 12 years ago

Hmm not fully sure of this, but I get the impression that the issue isn't an issue on TDT but on our Firewall configuration. A PUT command seems like being transformed into a GET command. POST works... I'll try sysadmins and get back on this.

coreation commented 12 years ago

Okay! The more "know issues" we have, even if it's with non-TDT software, but supporting software, the more we can help other ppl with identifying future problems.

dtrdewaele commented 12 years ago

Found the solution. Our server is hosting DirectAdmin and apparently this system hasn't got a allow,deny settings in the vhosts config of Apache.

After adding Order allow,deny Allow from all

to the vhost of the website, the system works...

Not a DataTank issue, but a nice to know :)

Dieter

coreation commented 12 years ago

Okay thanks ! May help some people in the future ;)