Elxis CMS Forum

Extensions => Components => Topic started by: apresalpes on August 30, 2007, 20:42:35

Title: Problem with EDIR Reservations Module
Post by: apresalpes on August 30, 2007, 20:42:35
Hi

I am trying to add a new reservation item, but whenever I click to add an item a message "Getting data..." is displayed with a rotating icon.   I am not given an option to enter a new item as it just continuously hangs at this point.

While developing on a localhost server this functionality seemed fine, and has only started to occur (I think) since uploading the site to the web.

Any ideas or pointers would be most appreciated.

Cheers

 
Title: Re: Problem with EDIR Reservations Module
Post by: datahell on August 30, 2007, 21:12:54
Please check the following:

- Do you have any htacess file that restricts access to backend ( administrator/ folder)? If yes remove it. Elxis needs to communicate with backend.
- Have you set reservation extension correctly?
- Have you set reservation item correctly? Check Vacancy (greater than 0) and reservation seasons (starting from January 1st and ending to December 31).

If you can n't solve the problem send me username/password to your site backend to check the problem.
Title: Re: Problem with EDIR Reservations Module
Post by: apresalpes on August 31, 2007, 18:51:27
Deleted htaccess.txt, but still no joy.

As far as I'm aware it is configured OK.

I don't get as far as specifying number of vacancies, etc.

I have sent you a PM with login details, if you'd like to take a look that'd be great.

Thanks
Title: Re: Problem with EDIR Reservations Module
Post by: datahell on August 31, 2007, 19:00:08
I must go out for a while. I will answer you in about 2-3 hours. Please wait.
Title: Re: Problem with EDIR Reservations Module
Post by: datahell on August 31, 2007, 22:36:15
Everything works fine in EDir. I successfully added a new reservation item of listing "Studio 305, Avoriaz".

The problem is in your Elxis installation. When you transfered Elxis from your local installation to your online site you forgotten to transfer all the needed files. For example the TinyMCE editor does not loads as at least one file is missing:
/mambots/editors/tinymce.xml

I hope you transfered right your database...

I will check your file system and your php and I will answer you again.

Title: Re: Problem with EDIR Reservations Module
Post by: datahell on August 31, 2007, 22:51:03
I also added an other reservation item from frontend with different user for listing "Studio Bleu, St. Gervais". Everything ok.

Please check your Elxis installation.
At elxis.org there is a tool named "updiag". This can help you find missing files. Download and install it (there are instructions inside the zip). This will check Elxis file system integrity and tell you exactly what goes wrong. If any file is missing or is not original upload it from the Elxis installation zip.

Some things you should also check:
- If possible upgrade mysql. You have an old version.
- Enable FTP access over files from the Elxis global configuration page.
Title: Re: Problem with EDIR Reservations Module
Post by: apresalpes on September 07, 2007, 15:54:57
Many thanks for the help.  I have been away for the week so apologies in the delay in replying.

OK, I downloaded and installed the updiag tool (cool tool by the way - thanks for bringing it to my attention).

I have uploaded the missing files.  This happened as I don't have FTP access through the firewall at work, so used my porviders web ftp software which allows a maximum of 2Mb zip files (so I had to split the elxis site into multiple zips), and times out after 60 seconds of transfer.  So thought I'd copied them all, but my mistake as I hadn't.

The only one reporting missing now is install.php, which I haven't copied over yet as I didn't think I'd need it.

I have also enables FTP access over files.

Unfortunately, I can't do much at the moment re updating mysql as I'm at the mercy of my host provider for this.

So, that's where I'm at now, but I still have the problem when trying to add a new reservation item, or editing an existing one.... by the way, how did you add the test ones?

Thanks

Title: Re: Problem with EDIR Reservations Module
Post by: datahell on September 07, 2007, 18:39:40
Your EDir installation works fine!

From backend:
- Edit an existing listing or save the new one and re-open it for edit.
- Go to the reservations tab and click "Load extension" link if it is not loaded.
- Click on "new" to add a new reservation item.
- Enter data in the reservation item and then click "save" to save it.
- Click "save" in elxis toolbar to save the whole listing.

If you need guidance for frontend tell me.
Title: Re: Problem with EDIR Reservations Module
Post by: apresalpes on September 07, 2007, 23:35:24
Still got a problem with the front end.

Log into the front end as a user, click on listings, then edit a property.  Click on either 'New' or Edit an existing reservation item and a message is displayed quickly aying 'sending data..., then hangs on 'Getting data...' with a spinning blue circle icon.

Could it be my browser?  Although I have tried this now on a number of different machines with the same result.

Thanks
Title: Re: Problem with EDIR Reservations Module
Post by: apresalpes on September 11, 2007, 11:34:57
Anyone got any ideas on this?

I can't use the site until I can resolve this problem, as my users cannot even edit reservation items.

Does it run javascript or something at this point, when clicking 'New' or 'Edit'?

I've tried it now on IE5, 6, and 7 with no joy.

Thanks
Title: Re: Problem with EDIR Reservations Module
Post by: datahell on September 11, 2007, 13:01:59
In my previous check I easily added a new reservation item from frontend without errors or problems... Send me again url and login info for frontend to check it again.

EDIT: ok, I found login data.
I logged in in your site's frontend and successfully added a new reservation item at listing: St. Gervais. No problem at all! You need admin to publish listing from backend to be this item viewable by all in frontend. My browser: Firefox 2.0
Title: Re: Problem with EDIR Reservations Module
Post by: apresalpes on September 11, 2007, 14:36:09
Ok, well when I try and create or edit a reservation item in the front end using the user login details I supplied you, it is not working using IE5 or 7.

It would appear to be trying or running javascript editres (6,5,1) but I have noticed it displays error on page in the status bar.

I assume it should work using IE, as I can't force all my users to use an alternative browser.  Plus it worked using IE when I was developing the site off line.

Is there any part of the site I could try re-installing without having to start all content from scratch?

Thanks
Title: Re: Problem with EDIR Reservations Module
Post by: datahell on September 11, 2007, 18:20:52
Ok, I located the problem. There is indeed a problem with IE7 and reservations in your site. I will look at it right now and I will provide you solution very soon. Please wait for my message.
Title: Re: Problem with EDIR Reservations Module
Post by: datahell on September 11, 2007, 19:58:29
FIXED!
Please check your messages.
Title: Re: Problem with EDIR Reservations Module
Post by: apresalpes on September 13, 2007, 23:45:42
Thank you very much for your help Datahell.... problem solved and happy users  ;D
Title: Re: Problem with EDIR Reservations Module
Post by: santiago on September 17, 2007, 20:51:04
Hello.

I have the exact same problem. 
Reservations work when I use Firefox but don't work using IE7.

Please, help me too.


Santiago
Title: Re: Problem with EDIR Reservations Module
Post by: datahell on September 17, 2007, 23:11:47
So, check your messages too  :D

If anyone else has the same problem send me an email/pm with his mail/site to send him an updated version (1.3.1) of the Reservations extension.
Title: Re: Problem with EDIR Reservations Module
Post by: santiago on September 18, 2007, 17:09:31
Hello.
I uninstalled the extension and reinstalled

Now I can edit a reservation (wich I created using the backend),  but I can't write anything on the intro text
When I try to create a reservation from the front end, I get a message telling me that I have to save the listing first, wich I can't because I can write anything on the intro text.

Please help.
Title: Re: Problem with EDIR Reservations Module
Post by: datahell on September 18, 2007, 18:18:43
If you can nt write anything in the intro text, then most probably the Elxis editor does not initialize or produces errors. Possible reasons:
1. You are not logged in user.
2. You dont have access to the editor (Check Elxis access system).
3. You may miss some Elxis files (run updiag to check it).

Check if there are any javasript errors (Firefox web browser ->Tools -> Error console).

If you can nt fix the problem send me, with an email or pm, username/password for your ftp and your site's backend to check your problem.

Title: Re: Problem with EDIR Reservations Module
Post by: santiago on September 18, 2007, 18:49:19
You wrote:
If you can nt write anything in the intro text, then most probably the Elxis editor does not initialize or produces errors. Possible reasons:
1. You are not logged in user.
I'm logged in, because I can edit a listing
2. You dont have access to the editor (Check Elxis access system).
I have access to the editor, because I can write in the main text
3. You may miss some Elxis files (run updiag to check it).
I don't think I miss Elxis files because it works fine when I use Firefox; de problem is when I use IE
Check if there are any javasript errors (Firefox web browser ->Tools -> Error console).
If you can nt fix the problem send me, with an email or pm, username/password for your ftp and your site's backend to check your problem.

Title: Re: Problem with EDIR Reservations Module
Post by: santiago on September 19, 2007, 19:09:55
I installed updiag and everything seems ok.
I will send you a PM.