Easy PHP Calendar - We really take care of your dates!


Go Back   Easy PHP Calendar > General Discussion > Installation / Upgrade Questions

Installation / Upgrade Questions Questions or issues concerning the installation of the Easy PHP Calendar script.

Closed Thread
 
Thread Tools Search this Thread Display Modes

Unable to Install to Ubuntu Server
Old 06-22-2010, 04:01 PM   #1
rkulp
Calendar User
 
rkulp is offline
Join Date: Jun 2010
Posts: 13
Default Unable to Install to Ubuntu Server

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.
 

Old 06-22-2010, 04:35 PM   #2
Brian
EPC Developer
 
Brian's Avatar
 
Brian is offline
Join Date: Jun 2001
Location: Florida, USA
Posts: 10,878
Default

Is this a local server or is it accessible over the web?
__________________
-- Brian

Questions?

Instructions: Version 6 - Version 7 | FAQ | Errors FAQ | Paths FAQ | Forums | Support
| Web Site Hosting
 

Old 06-22-2010, 05:21 PM   #3
rkulp
Calendar User
 
rkulp is offline
Join Date: Jun 2010
Posts: 13
Default

This is a local server that I access using the internal IP address.
 

Old 06-22-2010, 06:36 PM   #4
Brian
EPC Developer
 
Brian's Avatar
 
Brian is offline
Join Date: Jun 2001
Location: Florida, USA
Posts: 10,878
Default

It would be easier to just download and uncompress the zip files then copy them to the server (instead of using the auto-installer).
__________________
-- Brian

Questions?

Instructions: Version 6 - Version 7 | FAQ | Errors FAQ | Paths FAQ | Forums | Support
| Web Site Hosting
 

Old 06-22-2010, 09:58 PM   #5
rkulp
Calendar User
 
rkulp is offline
Join Date: Jun 2010
Posts: 13
Default

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.
 

Old 06-22-2010, 10:14 PM   #6
Brian
EPC Developer
 
Brian's Avatar
 
Brian is offline
Join Date: Jun 2001
Location: Florida, USA
Posts: 10,878
Default

Do you have PHP working on the server?
__________________
-- Brian

Questions?

Instructions: Version 6 - Version 7 | FAQ | Errors FAQ | Paths FAQ | Forums | Support
| Web Site Hosting
 

Old 06-22-2010, 10:48 PM   #7
rkulp
Calendar User
 
rkulp is offline
Join Date: Jun 2010
Posts: 13
Default

Quote:
Originally Posted by Brian View Post
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.
 

Old 06-23-2010, 07:06 AM   #8
ve9gra
Support Team
 
ve9gra's Avatar
 
ve9gra is offline
Join Date: Jun 2003
Location: New Brunswick, Canada
Posts: 4,965
Default

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?
__________________
-- Gervais
EPC Tutorials... We're here to help!
Offering custom integration services. Contact me here.
* Not affiliated with EasyPHPCalendar or NashTech Inc.
 

Old 06-23-2010, 08:10 AM   #9
rkulp
Calendar User
 
rkulp is offline
Join Date: Jun 2010
Posts: 13
Default

Quote:
Originally Posted by ve9gra View Post
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.
 

Old 06-23-2010, 03:10 PM   #10
ve9gra
Support Team
 
ve9gra's Avatar
 
ve9gra is offline
Join Date: Jun 2003
Location: New Brunswick, Canada
Posts: 4,965
Default

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.
__________________
-- Gervais
EPC Tutorials... We're here to help!
Offering custom integration services. Contact me here.
* Not affiliated with EasyPHPCalendar or NashTech Inc.
 

Old 06-23-2010, 03:30 PM   #11
rkulp
Calendar User
 
rkulp is offline
Join Date: Jun 2010
Posts: 13
Default

Quote:
Originally Posted by ve9gra View Post
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.
 

Old 06-23-2010, 06:55 PM   #12
ve9gra
Support Team
 
ve9gra's Avatar
 
ve9gra is offline
Join Date: Jun 2003
Location: New Brunswick, Canada
Posts: 4,965
Default

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.
__________________
-- Gervais
EPC Tutorials... We're here to help!
Offering custom integration services. Contact me here.
* Not affiliated with EasyPHPCalendar or NashTech Inc.
 

Old 06-23-2010, 10:06 PM   #13
rkulp
Calendar User
 
rkulp is offline
Join Date: Jun 2010
Posts: 13
Default

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.
 

Old 06-24-2010, 12:29 PM   #14
rkulp
Calendar User
 
rkulp is offline
Join Date: Jun 2010
Posts: 13
Default

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.
 

Old 06-24-2010, 03:33 PM   #15
Brian
EPC Developer
 
Brian's Avatar
 
Brian is offline
Join Date: Jun 2001
Location: Florida, USA
Posts: 10,878
Default

You're looking for the $showCat= Command-line option.
__________________
-- Brian

Questions?

Instructions: Version 6 - Version 7 | FAQ | Errors FAQ | Paths FAQ | Forums | Support
| Web Site Hosting
 

Old 06-24-2010, 04:56 PM   #16
rkulp
Calendar User
 
rkulp is offline
Join Date: Jun 2010
Posts: 13
Default

Quote:
Originally Posted by Brian View Post
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?
 

Old 06-24-2010, 05:01 PM   #17
Brian
EPC Developer
 
Brian's Avatar
 
Brian is offline
Join Date: Jun 2001
Location: Florida, USA
Posts: 10,878
Default

All you need is the number "6".
__________________
-- Brian

Questions?

Instructions: Version 6 - Version 7 | FAQ | Errors FAQ | Paths FAQ | Forums | Support
| Web Site Hosting
 
Closed Thread

Tags
pureftp, ubuntu

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable to Install Calendar on 1and1.com Server playfirst Installation / Upgrade Questions 1 05-05-2010 02:49 PM
MAC OSX server install problems maninblk1 Installation / Upgrade Questions 8 04-05-2010 11:57 AM
previous install now shows Internal Server Error mkolar Installation / Upgrade Questions 3 10-25-2009 08:43 PM
CAn't install. Fatal error: Unable to read 6480 bytes Katandmouse Installation / Upgrade Questions 1 08-05-2008 03:02 AM
How to Install on Server? How to Insert into HTML Page? ambassador General 10 07-08-2005 07:14 AM



All times are GMT -4. The time now is 05:59 AM.


vBulletin skins developed by: eXtremepixels
Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Copyright 2009 NashTech, Inc.

| Home | Register | Today's Posts | Search | New Posts |