ltwCalendar
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Codewalkers ForumsProjectsltwCalendar

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Codewalkers Forums Sponsor:
  #1  
Old October 25th, 2003, 11:11 PM
Ken Ken is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 4 Ken User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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

Reply With Quote
  #2  
Old October 27th, 2003, 04:45 PM
prrk47002 prrk47002 is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Pennsylvania
Posts: 275 prrk47002 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 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>

Reply With Quote
  #3  
Old October 28th, 2003, 01:54 AM
Ken Ken is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 4 Ken User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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

Reply With Quote
  #4  
Old October 30th, 2003, 02:18 AM
Ken Ken is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 4 Ken User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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

Reply With Quote
  #5  
Old October 30th, 2003, 02:45 AM
Ken Ken is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 4 Ken User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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

Reply With Quote
  #6  
Old October 30th, 2003, 06:21 PM
prrk47002 prrk47002 is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Pennsylvania
Posts: 275 prrk47002 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 2
RE: Admin not working

Thanks!! That's one I hadn't heard of before!

Reply With Quote
  #7  
Old November 11th, 2003, 06:01 PM
Anonymous Anonymous is offline
Registered User
Codewalkers God 35th Plane (22000 - 22499 posts)
 
Join Date: Apr 2007
Posts: 22,309 Anonymous User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 24
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.

Reply With Quote
  #8  
Old November 26th, 2003, 10:49 PM
Anonymous Anonymous is offline
Registered User
Codewalkers God 35th Plane (22000 - 22499 posts)
 
Join Date: Apr 2007
Posts: 22,309 Anonymous User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 24
RE: RE: Admin not working

Thanks! fixed my problems.
Quote:
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.


Reply With Quote
  #9  
Old December 17th, 2003, 04:55 PM
Anonymous Anonymous is offline
Registered User
Codewalkers God 35th Plane (22000 - 22499 posts)
 
Join Date: Apr 2007
Posts: 22,309 Anonymous User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 24
RE: Admin not working

I was not able to activate output_buffering with .htaccess, so I used
php Code:
Original - php Code

at the beginning of calendar.php and at the end
php Code:
Original - php Code

.


Now I have the admin links on my page.

Reply With Quote
  #10  
Old January 1st, 2004, 06:26 AM
Anonymous Anonymous is offline
Registered User
Codewalkers God 35th Plane (22000 - 22499 posts)
 
Join Date: Apr 2007
Posts: 22,309 Anonymous User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 24
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.



Reply With Quote
  #11  
Old April 5th, 2004, 05:14 PM
Anonymous Anonymous is offline
Registered User
Codewalkers God 35th Plane (22000 - 22499 posts)
 
Join Date: Apr 2007
Posts: 22,309 Anonymous User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 24
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.


Reply With Quote
  #12  
Old April 7th, 2004, 12:42 AM
prrk47002 prrk47002 is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Pennsylvania
Posts: 275 prrk47002 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 2
RE: Admin not working

It will definately get added to the next release.

Reply With Quote
  #13  
Old May 8th, 2004, 09:53 AM
afman231 afman231 is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Kadena AB; Okinawa ,Japan
Posts: 2 afman231 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
RE: Admin not working

Quote:
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.


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..

Reply With Quote
  #14  
Old May 14th, 2004, 05:03 PM
ricelm ricelm is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 1 ricelm User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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.

Reply With Quote
  #15  
Old September 22nd, 2004, 08:51 PM
Anonymous Anonymous is offline
Registered User
Codewalkers God 35th Plane (22000 - 22499 posts)
 
Join Date: Apr 2007
Posts: 22,309 Anonymous User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 24
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.

Reply With Quote
Reply

Viewing: Codewalkers ForumsProjectsltwCalendar > Admin not working


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump