phpScheduleIt
May 19, 2013, 03:51:42 PM
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
: phpScheduleIt 2.4.2 has been released!
Home
Help
Login
Register
phpScheduleIt
>
Help and Support
>
phpScheduleIt 1.2.x
>
Admin can't make bookings
Pages: [
1
]
« previous
next »
Print
Author
Topic: Admin can't make bookings (Read 657 times)
slimrichard
Newbie
Karma: 0
Posts: 20
Admin can't make bookings
«
on:
May 13, 2012, 01:19:42 PM »
I have just moved my phpscheduleit site from one host to another with a 2 hour time diff. I updated the start and end times of all the bookings and they now display ok but I am getting a weird issue.
When I am logged in as a normal user I can make a booking fine, when I change that account to an admin account and i try and make a booking it shows the reservation screen with a 1/1/1970 time and the option to cancel or export and no booking is made.
Any ideas?
Logged
Azyrus
Newbie
Karma: 0
Posts: 28
Re: Admin can't make bookings
«
Reply #1 on:
May 13, 2012, 05:58:27 PM »
Does the user have a different timezone to the admin? Thats my first guess =)
Logged
slimrichard
Newbie
Karma: 0
Posts: 20
Re: Admin can't make bookings
«
Reply #2 on:
May 13, 2012, 08:38:10 PM »
Everyone is in the same timezone as I have disabled timezone selection in registration.
It is something in the database as i have done a fresh install and could make bookings ok as admin and then I restore my db and modify the reservation start_date and end_date values and the same problem again.
I will keep looking.
Logged
Azyrus
Newbie
Karma: 0
Posts: 28
Re: Admin can't make bookings
«
Reply #3 on:
May 14, 2012, 01:15:16 AM »
Try testing the timezones,
Code:
<?php
echo
date_default_timezone_get
();
?>
Then create a php.ini file in the planner with the same timezone as the old host. Just a hunch, but I think it may work.
Logged
slimrichard
Newbie
Karma: 0
Posts: 20
Re: Admin can't make bookings
«
Reply #4 on:
May 14, 2012, 03:14:21 AM »
Yay that worked! I had to set php safemode to on due to a bunch of db.php class errors and add the hours back onto the data manually via sql but admins can now make bookings
Thanks for the help!
Logged
Azyrus
Newbie
Karma: 0
Posts: 28
Re: Admin can't make bookings
«
Reply #5 on:
May 14, 2012, 07:05:52 AM »
Thats great! I am happy I could help =)
Logged
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General
-----------------------------
=> Announcements
=> Open Discussion
=> Donations
-----------------------------
Help and Support
-----------------------------
=> phpScheduleIt 2.x
=> EspaƱol
=> phpScheduleIt 1.2.x
=> phpScheduleIt 1.1.x
=> New Features and Suggestions
=> Developers
-----------------------------
Bugs
-----------------------------
=> phpScheduleIt 1.2.x
=> phpScheduleIt 1.1.x
-----------------------------
Modifications
-----------------------------
=> Post Modifications
=> Request Modification
-----------------------------
Development
-----------------------------
=> phpScheduleIt 2.0
-----------------------------
Off-Topic
-----------------------------
=> Non-phpScheduleIt Discussion
Loading...