View Full Version : Unable to Install to Ubuntu Server
rkulp
06-22-2010, 04:01 PM
I am trying to use the Windows install package to install the calendar on my Ubuntu server. It is running Apache 2, PHP 5.1, PureFTPD. I can browse to a folder for installation but cannot address it with a url. I've tried it with ftpusers and regular users. I would appreciate help from someone who has installed this to a Ubuntu server with PureFTP or any other distro with PureFtP. If nobody has done that, any help is appreciated. I've already spent a day with what should be a simple problem. Thanks.
Brian
06-22-2010, 04:35 PM
Is this a local server or is it accessible over the web?
rkulp
06-22-2010, 05:21 PM
This is a local server that I access using the internal IP address.
Brian
06-22-2010, 06:36 PM
It would be easier to just download and uncompress the zip files then copy them to the server (instead of using the auto-installer).
rkulp
06-22-2010, 09:58 PM
Thanks. That was easy. Now I have the problem that I don't have a URL outside of the IP address. When I try to do the setup, the browser wants to save index.php not run the program. Is there a way around this or do I have to set up a URL for this site? I don't want it accessible from outside. This is only for testing the calendar and trying to code what I need to make it work in a real website.
Brian
06-22-2010, 10:14 PM
Do you have PHP working on the server?
rkulp
06-22-2010, 10:48 PM
Do you have PHP working on the server?
It wasn't but is now. Now I get an error message HTTP 500 indicating it cannot display the page and gives two possible reasons: that the website is undergoing maintenance or has a programming error. It isn't undergoing maintenance and I would suppose there is no programming error or it would have been found long ago.
Thanks for helping this newbie.
ve9gra
06-23-2010, 07:06 AM
That usually means a configuration error on the Apache/PHP side. Can you get your server to show you any page at all? Once you get through that, then you'll have to tackle the loader task (ionCube or Zend).
BTW, did you try the tester before installing the calendar?
rkulp
06-23-2010, 08:10 AM
That usually means a configuration error on the Apache/PHP side. Can you get your server to show you any page at all? Once you get through that, then you'll have to tackle the loader task (ionCube or Zend).
BTW, did you try the tester before installing the calendar?
I tested PHP with a simple script: <?p phpinfo(); ?> which worked fine. I used the tester which passed with ionCube and not Zend.
ve9gra
06-23-2010, 03:10 PM
If (I assume you can) shell to your server, you can simply upload the .zip file and use unzip to extract the package directly on the server so you can confirm that all the data is there and that there was no corruption in the FTP transfer.
rkulp
06-23-2010, 03:30 PM
If (I assume you can) shell to your server, you can simply upload the .zip file and use unzip to extract the package directly on the server so you can confirm that all the data is there and that there was no corruption in the FTP transfer.
I did that. It did not help. If I try to load http://localhost/calendar/setup/index.php I get an empty page. If I got to another computer and try to load http://192.168.0.192/calendar/setup/index.php I get HTTP Error 500. I'm stuck. Until I fix this, I won't be able to evaluate the calendar for our use.
ve9gra
06-23-2010, 06:55 PM
Usually, 500 errors are logged to the apache log file. You might be able to get in there to figure out what the heck is going on. It's usually in /var/log/apache2/error.log.
I've been using Ubuntu since the 4.10 version (warty) and I've never experienced something like that.
rkulp
06-23-2010, 10:06 PM
The error log shows:
File does not exist: /var/www/favicon.ico
The HTTP 500 error only occurs on IE8. Using Mozilla Firefox the page "loads" but is completely blank. The only key that it has loaded is the "Done" at the bottom of the page.
I think I'll try putting an icon in the directory and changing the name to favicon.ico.
rkulp
06-24-2010, 12:29 PM
SOLVED. The problem was in my php.ini file and the ioncube loader. Thanks for your help. My next task is to figure out how to use categories to hide events from persons not logged in.
Brian
06-24-2010, 03:33 PM
You're looking for the $showCat= Command-line option. :)
rkulp
06-24-2010, 04:56 PM
You're looking for the $showCat= Command-line option. :)
Thanks. I followed the instructions and found
Filter:[Any]|Yes-6|
on the yellow bar. I put in
$showCat="[Any]|Yes-6|" or $showCat="Filter:[Any]|Yes-6|"
or any combination and always got a blank screen. Removing the line and all worked. I added a special category of "Private" with options of Yes and No. In the "Match Any Selection" section of the advanced filter there are 6 check boxes and only the 6th one was chosen. I presume that was the source of the 6. Here is the segment of PHP calling the calendar (obtained by copying your demoTOC.php to demoPrivate.php):
$TOC=1
$showCat="[Any]|Yes-6|"
require("calendar.php")
What did I miss?
Brian
06-24-2010, 05:01 PM
All you need is the number "6".
vBulletin® v3.8.4, Copyright ©2000-2013, Jelsoft Enterprises Ltd.