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 August 2nd, 2003, 05:39 PM
cflorig cflorig is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Mechanicsburg, PA 17055 USA
Posts: 31 cflorig User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 2
Admin works on local--but not on live hosting server.

Hi. This calendar is just fabulous! I am using Mac OS 10 and have developed my site using my local server/mySQL/PHP, etc.

It works great on my local machine. But now I'm in the process of uploading the whole site into production, on a 3rd party hosting server, and the site still works, almost. The calendar page comes in with the data from the database, but the Admin Login does not work anymore. When the login box pops up, I fill in the same as when it was local, but when the calendar.php page loads again, I'm not logged in and the additional login options aren't there.

It's the same exact pages that DO work on my local machine, but DON't work on my hosting service's machine. I think the database structure/data is the same because I did a dump from my local.

PLEASE offer any advice you can on this. I'm at a loss!

(PS: I created a test page with a simple form, using Macromedia's authentication routine, and that works. But I'm not sure how to integrate that script into yours.)

---cindy

Reply With Quote
  #2  
Old August 2nd, 2003, 06:10 PM
cflorig cflorig is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Mechanicsburg, PA 17055 USA
Posts: 31 cflorig User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 2
RE: Admin works on local--but not on live hosting server.

A little more info:

I used the ltw_install.php script to add a new user to the production DB, and it did successfully. I verified it with phpMyAdmin.

But still, when I login using this new user/password, I get returned to the calendar.php page, but without the logged-in options.

Could this be a cookie thing? Could there be something on the server side that's fouling this up, since it works locally?

Thanks again for your attention!

--cindy

Reply With Quote
  #3  
Old August 2nd, 2003, 11:43 PM
cflorig cflorig is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Mechanicsburg, PA 17055 USA
Posts: 31 cflorig User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 2
RE: Admin works on local--but not on live hosting server.

Still more info, but no solution yet:

Remember I said that the login works from my local machine/db, but the same pages don't allow the login from the production server? Well, I changed the config file (on my local machine) to point to the database that's on the live, production server.

IT WORKS!!! I can login using my own hosting server, and the production DB, and it works just fine.

So, is there maybe some "hidden" mysterious file on my local machine that allows my access, and maybe I need that file moved into production along with the rest of the site? Strange. But I've determined that it can't be a problem with the production DB, or my PHP pages. Is there a server file that needs modified for this to work?

Reply With Quote
  #4  
Old August 3rd, 2003, 06:36 PM
cflorig cflorig is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Mechanicsburg, PA 17055 USA
Posts: 31 cflorig User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 2
RE: Admin works on local--but not on live hosting server.

And yet more info . . . I'm trying to troubleshoot to at least point to what's not working.

It looks like the login function is working, in that if I put in an invalid username/password, I get the "Login failed" message. When i enter the correct username/password, the popup window closes (like it would when it's valid) and the main calendar page reloads. It's here where the logged in buttons don't appear.

So, it looks like the function is working. Maybe this will help in the diagnosis of what's wrong. Thanks again!!!

Reply With Quote
  #5  
Old August 3rd, 2003, 06:54 PM
Matt Matt is offline
Contributing User
Codewalkers Specialist (4000 - 4499 posts)
 
Join Date: Apr 2007
Location: Florida
Posts: 4,158 Matt User rank is Private First Class (20 - 50 Reputation Level)Matt User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 4 h 10 m 20 sec
Reputation Power: 6
RE: Admin works on local--but not on live hosting server.

This may be so simple that it works....

Is it possible that the page is cached and that is why you are not seeing the admin links? Once you log in, try doing a shift-reload to see if they appear...

Reply With Quote
  #6  
Old August 4th, 2003, 11:27 AM
cflorig cflorig is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Mechanicsburg, PA 17055 USA
Posts: 31 cflorig User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 2
RE: Admin works on local--but not on live hosting server.

Thanks for responding, Matt.

Unfortunately, it's a no-go. I did shift-refresh, ctrl-refresh, cleared my cache in the browser prefs, but still no login.

It's so strange in that it works when served from my local server (even when the DB is pulled from the production server), but doesn't work when served from the production server. I did find that my local server is Apache 2.0, and the production server is Apache 1.3. Should that make a difference?

Reply With Quote
  #7  
Old August 5th, 2003, 01:44 AM
cflorig cflorig is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Mechanicsburg, PA 17055 USA
Posts: 31 cflorig User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 2
RE: Admin works on local--but not on live hosting server.

I think I may have fixed it.

Not quite sure what was wrong, I just started over from scratch and made my modifications a little piece at a time.

Reply With Quote
  #8  
Old June 10th, 2004, 06:46 PM
sirkyle sirkyle is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 1 sirkyle User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
RE: Admin works on local--but not on live hosting server.

Had a problem like this. Every time I tried to log in on the production system, it failed. When I checked the DB, the password field was blank. I would reset with an known encrypted password and it would store, but when I tried to log in it removed the password from the DB. Turns out that when copying the sql file from my test system to the production one, it put the password field in CAPS. Not too sure why, but when I renamed the field to lowercase, worked like a champ... Hope this helps.

Reply With Quote
Reply

Viewing: Codewalkers ForumsProjectsltwCalendar > Admin works on local--but not on live hosting server.


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


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway
Stay green...Green IT