|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Admin not working
Hi, I just installed this great program and am trying to use the admin and I get nothing. All installed perfectly with no errors, but when I select the admin link, it just re-loads the calendar page. Where should I look?
Here is my setup: WinME running locally PWS with mySQL(4.0.13) and PHP(4.3.2.2). Thanks Ken |
|
#2
|
|||
|
|||
|
RE: Admin not working
Make sure in setting up your header file you have not deleted the lines that define the popup functions:
<!-- The following functions need to be declared in the page header for the --> <!-- javascript popups to work. --> <SCRIPT LANGUAGE="JavaScript" type="text/javascript"> <!-- function launchcategory(url){ window.name = 'opener'; remote = open(url, "", "resizable,status,scrollbars,width=500,height=400,l eft=300,top=100"); } function launchevent(url){ self.name = "opener"; remote = open(url, "", "resizable,scrollbars,width=400,height=600,left=300 ,top=100"); } function launchlog(url){ window.name = 'opener'; remote = open(url, "", "resizable,status,scrollbars,width=600,height=650,l eft=300,top=100"); } function launchlogin(url){ window.name = 'opener'; remote = open(url, "", "resizable,status,scrollbars,width=400,height=300,l eft=300,top=100"); } function launchuser(url){ window.name = 'opener'; remote = open(url, "", "resizable,status,scrollbars,width=650,height=600,l eft=300,top=100"); } --> </SCRIPT> |
|
#3
|
|||
|
|||
|
RE: Admin not working
Thanks for the reply, I was still using the default header, I double checked it anyway. But it made no difference. I do get the log-in prompt, if I type in a wrong user or password it says it is incorrect, but if I put in the right user & password it just reloads the calendar without the admin controls. I searched the forum and while several others had similar problems they usually had some other reason like old PHP version or session cookies. What can we check next?
BTW I was born in Bethlehem,PA |
|
#4
|
|||
|
|||
|
RE: Admin not working
Hey, I uploaded the calendar to my host -westhost - and at first I got the same symptoms as before(no login) plus some errors listed at the top. But I read in this forum that you can suppress the errors in php.ini and also I read in westhost's forum that they recommended a certain .ini file and they provided a link. So I downloaded their .ini file and put it on my hosted site and it worked! Unfortunately it didn't work on my PWS setup but I'm not complaining I think I can figure out which setting it was. Thanks for the help.
Ken |
|
#5
|
|||
|
|||
|
RE: Admin not working
Hi, for what it's worth I found the problem in my .ini file. My output_buffering was off. When I changed it to output_buffering=4096. The admin menu appeared after a re-load. I hope this thread helps anyone else who has this error and cannot find a cure through your other threads. Thanks.
Ken |
|
#6
|
|||
|
|||
|
RE: Admin not working
Thanks!! That's one I hadn't heard of before!
|
|
#7
|
|||
|
|||
|
RE: Admin not working
I have a work around for those who do not have access to the php.ini file, and the server is apache. In the directory that houses your calendar.php put a file called .htaccess
In this file put the following: php_value output_buffering 4096 This will change the buffering for everything in this directory. Worked for me. |
|
#8
|
|||
|
|||
|
RE: RE: Admin not working
Thanks! fixed my problems.
Quote:
|
|
#9
|
|||
|
|||
|
RE: Admin not working
I was not able to activate output_buffering with .htaccess, so I used at the beginning of calendar.php and at the end .
Now I have the admin links on my page. |
|
#10
|
|||
|
|||
|
RE: Admin not working
This fixed my problem... Thanks...
-------------------------------------- Posted: Wednesday, December 17 2003 12:55 PM -------------------------------------------------------------------------------- I was not able to activate output_buffering with .htaccess, so I used php: -------------------------------------------------------------------------------- ob_start(); ?> -------------------------------------------------------------------------------- at the beginning of calendar.php and at the end php: -------------------------------------------------------------------------------- ob_end_flush(); ?> -------------------------------------------------------------------------------- . Now I have the admin links on my page. |
|
#11
|
|||
|
|||
|
RE: Admin not working
You guys ROCK !!!! I was just about to give up, the .htaccess didn't work for me, but editing my calendar.php works like a champ.
Maybe this should be put into the next realease, or at least the release notes. |
|
#12
|
|||
|
|||
|
RE: Admin not working
It will definately get added to the next release.
|
|
#13
|
|||
|
|||
|
RE: Admin not working
Quote:
Your the best man!!! I was about ready to smash my monitor on the floor after spending as much time as i have getting a php calendar then not having admin functions work.. |
|
#14
|
|||
|
|||
|
RE: Admin not working
the admin login accepts any login and produces a duplicate calendar I've checked the output buffering and javascript no error's that I could see.
|
|
#15
|
|||
|
|||
|
RE: Admin not working
I was hoping this solution would work but using the htaccess file creates an apache error 500 where I can't enter the directory and the other fix with the extra php code does not do anything special either.
|
![]() |
| Viewing: Codewalkers Forums > Projects > ltwCalendar > Admin not working |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|