| View previous topic :: View next topic |
| Author |
Message |
esoft_ian
Joined: 12 Sep 2005 Posts: 5275
|
Posted: Mon Dec 04, 2006 3:16 pm Post subject: |
|
|
| What is the error you see in 1? |
|
| Back to top |
|
 |
jasperespejo
Joined: 07 Sep 2006 Posts: 80 Location: Mandaluyong, Philippines
|
Posted: Mon Dec 04, 2006 4:01 pm Post subject: |
|
|
Error!: class.mysql.php :: query() :: Table 'wherewhen_conx.Events' doesn't exist
select distinct location_id, Locations.name
from Events
left join Locations on Locations.id = Events.location_id
where (location_id > 0 and calendar = 35
and Locations.name != '' and Locations.name is not null)
or location_id = 0
order by lower(Locations.name) _________________ Jasper Espejo |
|
| Back to top |
|
 |
esoft_ian
Joined: 12 Sep 2005 Posts: 5275
|
Posted: Mon Dec 04, 2006 4:05 pm Post subject: |
|
|
At the top of the code, where it says:
global $_cur_cal, etc...
change it to
global $_cur_cal, $_cal_sql, $_cal_dbpref; |
|
| Back to top |
|
 |
jasperespejo
Joined: 07 Sep 2006 Posts: 80 Location: Mandaluyong, Philippines
|
Posted: Mon Dec 04, 2006 4:11 pm Post subject: |
|
|
That made the venue list appear as expected. Now it's just the following error when submitted:
Method Not Allowed
The requested method POST is not allowed for the URL /index.html.
I did a search on google and I saw some post saying it might be a SEF problem. However I cannot turn SEF off per client's requirement :-(.
Thanks! _________________ Jasper Espejo |
|
| Back to top |
|
 |
esoft_ian
Joined: 12 Sep 2005 Posts: 5275
|
Posted: Mon Dec 04, 2006 4:14 pm Post subject: |
|
|
In the code, change the $loc_form = new _cal_form("locations"); to
| Code: |
| $loc_form = new _cal_form("locations", "/joomla/index.php"); |
|
|
| Back to top |
|
 |
jasperespejo
Joined: 07 Sep 2006 Posts: 80 Location: Mandaluyong, Philippines
|
Posted: Mon Dec 04, 2006 5:15 pm Post subject: |
|
|
That did it! Thanks Ian. _________________ Jasper Espejo |
|
| Back to top |
|
 |
|