Juha
Member
Posts: 10
Registered: 10/3/2003
Member Is Offline
|
| posted on 10/3/2003 at 05:37 PM |
|
|
Some serious problems =( !
When i just finished the instalation i got this message:
Warning: fwrite(): supplied argument is not a valid File-Handle resource in /home/users/ifklulea/html/kalender/install.php on line 155
Warning: fclose(): supplied argument is not a valid File-Handle resource in /home/users/ifklulea/html/kalender/install.php on line 156
When i then open the index page i got this mess:
Warning: Failed opening '/home/www/test/calendar/4/cl_files/db.php' for inclusion (include_path='.:/usr/share/pear') in
/home/users/ifklulea/html/kalender/cl_files/calendar.php on line 39
and...
Fatal error: Cannot instantiate non-existent class: db_access in /home/users/ifklulea/html/kalender/cl_files/calendar.php on line 42
Can this have anything to do with that igot php-event-calendar 1.1 installed or is it just a common problem, and what should ido to get it work?
Please help!
|
|
|
jemckay
Junior Member
Posts: 6
Registered: 10/4/2003
Member Is Offline
|
| posted on 10/4/2003 at 01:25 PM |
|
|
I would just like to mention I also have this problem but I would also like to note that I have this problem and have never installed any version of
this before! So I dont know if its any help but there you go.
|
|
|
nik
Posts:
Registered: 1/1/1970
Member Is Offline
|
| posted on 10/6/2003 at 09:48 AM |
|
|
Please, give us URL of your page with event calendar if it is possible.
|
|
|
Juha
Member
Posts: 10
Registered: 10/3/2003
Member Is Offline
|
| posted on 10/6/2003 at 05:37 PM |
|
|
http://www.cqr.nu/ifklulea/kalender/
is the URL
|
|
|
nik
Posts:
Registered: 1/1/1970
Member Is Offline
|
| posted on 10/7/2003 at 07:52 AM |
|
|
You should specify paths in cl_files/calendar.php file just like it is done in data/global.php file.
|
|
|
Juha
Member
Posts: 10
Registered: 10/3/2003
Member Is Offline
|
| posted on 10/7/2003 at 11:37 AM |
|
|
i just tried to install everything again and it worked perfect, now everythings ok.
But i dont understand how it could go wrong before, because i did it the same way!
|
|
|
jemckay
Junior Member
Posts: 6
Registered: 10/4/2003
Member Is Offline
|
| posted on 10/7/2003 at 04:14 PM |
|
|
I'm still at a dead end here if you wouldn't mind giving a sugestion?
http://www.sarclet-head.co.uk/newcalendar/
|
|
|
jemckay
Junior Member
Posts: 6
Registered: 10/4/2003
Member Is Offline
|
| posted on 10/7/2003 at 08:52 PM |
|
|
Help
Ok I reinstalled it again and found putting the permission to 777 on all my files helped solve the installer which went wihtout a problem. But now the
errors I get are as follows:
Warning: main(/home/www/test/calendar/4/cl_files/db.php): failed to open stream: No such file or directory in
/home/sarclet-/public_html/newcalendar/cl_files/calendar.php on line 46
Warning: main(): Failed opening '/home/www/test/calendar/4/cl_files/db.php' for inclusion
(include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/sarclet-/public_html/newcalendar/cl_files/calendar.php on line 46
and:
Fatal error: Cannot instantiate non-existent class: db_access in /home/sarclet-/public_html/newcalendar/cl_files/calendar.php on line 49
|
|
|
nik
Posts:
Registered: 1/1/1970
Member Is Offline
|
| posted on 10/8/2003 at 07:55 AM |
|
|
Have you specified paths in cl_files/calendar.php file just like it is done in data/global.php file?
|
|
|
Chuditch
Junior Member
Posts: 3
Registered: 10/8/2003
Member Is Offline
|
| posted on 10/8/2003 at 03:12 PM |
|
|
Ya probs with paths
jemckay,
Delete all your calendar files and upload them again. Edit the file paths in calendar.php and global.php and click "install"
If you take a look in your calendar.php file you'll see that for some totally bizarre reason the installer has included another section of path
variables below the ones you specified (if you specified them at all?)
Delete these and double check that the installer hasnt cocked up doubly by doing something to this effect:
'/home/www/test/calendar/4//test/calendar/4/cl_files/cl_files/db.php'
It managed to do that to me, I found that by running the installer, then downloading and modifying calendar.php and global.php to their correct paths
(dont forget the correct web-based address) and uploading again it fixed itself up.
Left me with another problem, but hopefully they'll be able to answer that in the post: "Fatal Errors - Almost the straw that broke the
camels back"
Hope that helped somewhat.
Regards,
~Chuditch~
|
|
|
jemckay
Junior Member
Posts: 6
Registered: 10/4/2003
Member Is Offline
|
| posted on 10/8/2003 at 05:00 PM |
|
|
Thx will try it now.
I would just like to say how fast replies come in on this forum its very good!
|
|
|
jemckay
Junior Member
Posts: 6
Registered: 10/4/2003
Member Is Offline
|
| posted on 10/8/2003 at 05:11 PM |
|
|
Ok now im confuzled
I sorta deleted one of ma files on ma local dir by acciedent on trying to use the method mentioned and came to the conclusion that i should d/l a full
copy again to be safe! so i did that uploaded all the files after deleting the old ones of ma webspace. Loaded installer ping first time, it works!!!
Im confused , but thx for all the help every1!!!
|
|
|