adscape
Junior Member
Posts: 2
Registered: 11/7/2006
Member Is Offline
|
| posted on 11/8/2006 at 09:25 AM |
|
|
Installation Goes Nowhere...
I have installed the php events calendar to www.mysite.com/events/ folder, and when I go to run the www.mysite.com/events/install.php, it gives me the
three default values for Script files, Data files, Images directory. I hit the install button, and it seems like the page just refreshes -- no error
message, it's just that nothing happens.
Any suggestions?
|
|
|
jeffpr
Junior Member
Posts: 3
Registered: 11/8/2006
Member Is Offline
|
| posted on 11/8/2006 at 09:47 AM |
|
|
| Quote: | Originally posted by adscape
I have installed the php events calendar to www.mysite.com/events/ folder, and when I go to run the www.mysite.com/events/install.php, it gives me the
three default values for Script files, Data files, Images directory. I hit the install button, and it seems like the page just refreshes -- no error
message, it's just that nothing happens.
Any suggestions? |
The same thing happened to me when I tried to run the script with Apache. The install page reloads and when you try to access the control panel in
....../cl_files/index.php, it just loads a blank page with no login box. There really needs to be an FAQ addressing these problems. You can see my
post below this one for pretty much the exact same topic.
|
|
|
jeffpr
Junior Member
Posts: 3
Registered: 11/8/2006
Member Is Offline
|
| posted on 11/8/2006 at 10:43 AM |
|
|
Ok, I will answer my own question. If you are working off a server, you may have to delete the following files manually: install.php,
install_dat.php, global.php, and calendar.dat. After you run the install.php script, this should automatically be done, but if you are working off a
server that you may not have root privileges on, you cannot just delete these folders automatically, they must be deleted manually. If you still have
these files in the parent directory, the install.php will just keep loading.
At the end of the day, the parent directory (after install) should contain the following directories: cl_files/ and tmp/, and the following files:
show.php and index.php.
You will need to make sure that the file: ../cl_files/data/global.php contains the appropriate file paths on your server. I would suggest running a
fresh install on your server and make sure the global.php is correct. It should look something like:
------------------------------------------------------------
<?php // change if needed
// a path to calendar files
$PATHS=array(
"path_to_calendar" => "/users/......../public_html/cl_files/",
"path_to_calendar_img" => "/users/......./public_html/cl_files/img/",
"WEB_path_to_calendar_img" => "http://www.domain.com......./public_html/cl_files/img/",
"path_to_data" => "/users/........../public_html/cl_files/data/"
);
?>
Or wherever the path is on your server. Now if your webserver is on your PC and your php files are in some directory like C:\Documents and
Settings\......, I'm not sure how to get that working. I have my web server pointing to that directory, but my global.php file is not created
properly when I run the install script, so I'll have to get back to you on that one.
|
|
|
dennisclaessens
Junior Member
Posts: 4
Registered: 10/11/2006
Location: Noord Holland
Member Is Offline
|
| posted on 1/18/2007 at 04:45 AM |
|
|
I had the same problem, and I just can't figure out how to solve it. Damn calendar... very frustrating.
When I instal it on another domain it works lovely.
But when I instal it on this domain, which has exactly the same hosting at the same provider, it just doesn't get further than the install
button....
It just refreshes the instal page with thje paths. Nothing seems to work.
Any suggestions PLEASE?
|
|
|
tigra
Administrator
Posts: 1907
Registered: 6/17/2002
Location: US, CO
Member Is Offline
|
| posted on 1/18/2007 at 11:31 AM |
|
|
jeffpr described the way he adressed the problem. did you try the same?
|
|
|
dennisclaessens
Junior Member
Posts: 4
Registered: 10/11/2006
Location: Noord Holland
Member Is Offline
|
| posted on 1/19/2007 at 09:23 AM |
|
|
Yeah I tried that, but after hitting the instal button, the page just loads again. When I look into the folders with FTP, nothing has happend, so
there is no global.php either....
What I now did is instal this on a domain where is just works fine.
Then I copied all the files and folder structure to my desktop.
After that, I adjusted the pathfiles on every page they appeared like global.php and calender.php (easy with find & replace)
Finally I uploaded all files tot the new domain where I want it.
It looks like this is working fine now, but what a hassle.....
Dennis
|
|
|
tigra
Administrator
Posts: 1907
Registered: 6/17/2002
Location: US, CO
Member Is Offline
|
| posted on 1/19/2007 at 09:38 AM |
|
|
did you delete installation files manually as described in the posting?
|
|
|
dennisclaessens
Junior Member
Posts: 4
Registered: 10/11/2006
Location: Noord Holland
Member Is Offline
|
| posted on 1/19/2007 at 10:18 AM |
|
|
yes I did remove the instal files manually, but the install button never generated a global.php file in the first place....
So I keep that solution as non-working for me.
Now, when I instal the calendar as I described above, it looks like it is installed good. But, when I try to login, The page just refresh and I get no
error message at all. I can not loggin with admin / demo.
I also had a look in users.php where I found the username admin and password demo.
Unfortunately it just doesn't work.
I will have some diner now, and think of it for a while....
thanks
|
|
|
tigra
Administrator
Posts: 1907
Registered: 6/17/2002
Location: US, CO
Member Is Offline
|
| posted on 1/19/2007 at 10:29 AM |
|
|
look in the server's error log. this all looks like permissions issue.
the installation hasn't produce the files because server couldn't write them on the disk.
the session can't be started (no login) because the temporary folder on the server is not writable. you can change the path to the writable temporary
directory in cl_files/index.php in session_save_path("/tmp"); statement.
|
|
|
omago
Newbie
Posts: 1
Registered: 2/1/2007
Location: Brazil
Member Is Offline
|
| posted on 2/1/2007 at 04:38 PM |
|
|
If you are using the PHP5, try to change the $HTTP_SERVER_VARS variable for the $_SERVER variable, equal for all the others.
Regards.
|
|
|
fusdave
Newbie
Posts: 1
Registered: 6/18/2007
Member Is Offline
|
| posted on 6/18/2007 at 08:29 PM |
|
|
Blast - I'm having the same trouble and the steps in this post didn't seem to help.
System info: Windows XP, MS IIS 5.1, PHP 5
Copied all the files from the downloadable ZIP file into c:\Inetpub\fussite\calendar
[fussite is the base root directory]
Tried running the install.php script, with no apparent effect.
After that, deleted everything in the install directory except for index.php and show.php
Then, copied a modified global.php into
C:\Inetpub\fussite\calendar\cl_files\data
And change the entries to:
$PATHS=array(
"path_to_calendar" => "C:\\Inetpub\\fussite\\calendar\\cl_files\\",
"path_to_calendar_img" => "C:\\Inetpub\\fussite\\calendar\\cl_files\\img\\",
"WEB_path_to_calendar_img" => "http://localhost/calendar/cl_files/img/",
"path_to_data" => "C:\\Inetpub\\fussite\\calendar\\cl_files\\data\\"
);
After this, I get a blank page when I try and access:
http://localhost/calendar/cl_files/admin.php
By inserting 'echo' statements, I can tell it's failing on the first line:
$g_text = $calendar->read_file("groups",".php",1);
Entry in the log files when trying to access the admin.php
19:58:46 127.0.0.1 GET /calendar/cl_files/admin.php 200
19:58:49 127.0.0.1 GET /calendar/index.php 200
19:58:49 127.0.0.1 GET /calendar/cl_files/img/logo.gif 304
19:58:49 127.0.0.1 GET /calendar/cl_files/img/pixel.gif 304
19:58:49 127.0.0.1 GET /calendar/cl_files/img/php_ec.gif 304
Any suggestions on what to do or more robust error reporting?
Thanks!
|
|
|
kvv
Super Administrator
Posts: 82
Registered: 6/17/2003
Member Is Offline
|
| posted on 6/19/2007 at 07:46 AM |
|
|
For all who use PHP5 please use the attached version of PHP Event calendar.
Attachment: for_PHP5.zip (84.76kb)
This file has been downloaded 257 times
|
|
|