×

Notice

The forum is in read only mode.
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: Error, blank screen

Error, blank screen 5 years 2 weeks ago #18016

  • Christian
  • Christian's Avatar Topic Author
  • Offline
  • Senior Boarder
  • Senior Boarder
  • Posts: 53
  • Thank you received: 0
Just installed Cnotes
When you click "save note", error message and blank screen

{"status":"OK","note":{"edit":"\/upgr\/jupgrade\/index.php\/component\/cnotes\/?task=note.edit&id=3","title":"hello","note":"hello"}}

????
grtz
Chritian

Error, blank screen 5 years 2 weeks ago #18017

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 154
  • Thank you received: 1081
blank screen is an indication that your PHP error reporting is turned off. Can you please turn it on and tell me what error is displayed on the screen?

Thanks,
Daniel

Error, blank screen 5 years 2 weeks ago #18026

  • Christian
  • Christian's Avatar Topic Author
  • Offline
  • Senior Boarder
  • Senior Boarder
  • Posts: 53
  • Thank you received: 0
Hello Daniel,




Hereby the error message

grts
Christian
Attachments:

Error, blank screen 5 years 1 week ago #18029

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 154
  • Thank you received: 1081
Hm, strict standard should not cause a white screen.
Wait, wait, wait!
So when you click the save button -> does the page refresh? It shouldn't actually - as everything happens in the background with javascript. If it refreshes there is a javascript conflict on your page.

Please check that there are no errors on the page and then also disable error reporting and it should work.

I'll fix the strict standard warning in the next release.
Daniel

Error, blank screen 5 years 1 week ago #18030

  • Alpharis
  • Alpharis's Avatar
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 12
  • Thank you received: 2
Hello Daniel,

First of all, congratulations for your work and your component/module.
The idea is very interesting.
Thank you for sharing it through Joomla Community.

To complete the post of Christian, the message which appears like
{"status":"OK","note":{"edit":"\/upgr\/jupgrade\/index.php\/component\/cnotes\/?task=note.edit&id=3","title":"hello","note":"hello"}}
is not a bug but, as you know, more an info about the 'command' you sent to the component.

But
1) This message takes all the screen and remove the display of the Joomla Website.
So this is a problem for the user who doesn't understand what's happening on screen.
2)If you reload the page, this adds another note, with the same content.
3) If you go back in the browser, you recover your title and and your content in Edit mode in the module (Which is normal) but the user could think that the note was not saved so he could save again the Note, had the same error message and eventually get 3 times the same note in the page.

Basically the idea would be after having hit the save button of the Note to hide the 'message' and of course display the page with the Note in final state ( no more Edit Mode) and the rest of the Joomla site.

Currently, due to this problem it is not really possible to use the component.
Even if the note is well saved in the component administration.
It creates too much uncertainty for the user.

But once again, thanks for your work.

Error, blank screen 5 years 1 week ago #18031

  • Christian
  • Christian's Avatar Topic Author
  • Offline
  • Senior Boarder
  • Senior Boarder
  • Posts: 53
  • Thank you received: 0
Hi daniel

I am sorry but I Uninstalled de app

I also uninstalled de Matukio event registration

I payed 43 euro to have the same as the old seminar (as mentioned in you publicity), but it is Not !!

I reported 3 major features, Cancel Button, editing booking, en editing bookings by organisator
but I think you wont fix them (even in the new booking form you have that cancel button appearing after booking ???)

For my registration I use now Jcomments, (I put the event in an article, and the users can write comments if they will attend or not) at least they can edit their booking without having to cancel it. The counting I have to do myself ..

Maybe I'll be back when version 3.? is released ... :( :(

Christian

Error, blank screen 5 years 1 week ago #18033

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 154
  • Thank you received: 1081
Hey guys!
So, I just tested the component on a clean joomla 2.5 installation - it works out of the box as expepcted. As I said in my previous reply - I think that you are encountering javascript errors on your page. To be able to help you - I'll need access to a page that has the module published on. The way you can determine if you encounter js errors or not is to use the firebug console - the errors are displayed in red there. In 99% of the time it is - mootools vs jquery conflict (because jquery is not included as it should).

@Christian - this is the wrong thread for this conversation. I've seen the other Matukio threads and as far as I'm aware Yves is working on fixing the issues that you've reported.
I think that we have a communication issue. Yves have said several times that you have a setting for the "cancel button" - you need to go in the settings and just set the time to cancel events to -1. Anyway - and our goal is to have all problems solved - or at least have a clear understanding what will be done and what not!

COM_MATUKIO_BOOKING_STORNOTAGE_DESC="Cancellation possible till (days). Set this to -1 if cancellation should not be possible at all"


Kind Regards,
Daniel

Error, blank screen 5 years 1 week ago #18034

  • Alpharis
  • Alpharis's Avatar
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 12
  • Thank you received: 2
Thank you Daniel for your quick reply and proposal of help.

Here are the errors in red reported by the Firebug Console.

- Get mysite.com/media/mod_cnotes/css/cnotes.css 404 not found.
- cnotes is not defined [Stopped on a mistake]

var notes = new cnotes({container: 'cnotes-368'});

Please let me inform you about the css file that you maybe made a typo in your code.
In fact the css file well exists in
/media/com_cnotes/css
In my installation, there is no /media/mod_cnotes/ Directory.

I did my first test on Chrome and this one on Mozilla.
I have also to say that when I connected under an user name on Mozilla,
the note I left in Chrome did not showed up.
But is present in the Cnote Administration.
As I changed of browser, are you using a cookie tied to your module?
Because I can't see in Chrome the note I entered on Firefox and I can't see in Firefox
what I have done on Chrome. Of course with the same user credit.
This could be another problem.

Other info, when we see the blank page with the error message with an address like this
item86/index.php?option=com_cnotes&format=raw&task=note.add
There is no information in the Firebug console, no ccs found, no javascript,
only the html code of the error message is viewable.

Last point, I tested your component in a pre production web site which is restricted by IP access.
I would be glad to open it for you. I just need by PM or mail your IP in order to not block it.

Thank you in advance.

Error, blank screen 5 years 1 week ago #18035

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 154
  • Thank you received: 1081
Hey Alpharis,
Thank you! I think that I've figuered out what was wrong. Please try this release:
compojoom.com/downloads/dev-cnotes

And let me know if it solves the problem.
What was wrong? Well our build script was properly getting the media/mod_cnotes files and was adding them to the zip package, but we were missing the lines in the mod_cnotes.xml that is dealing with the installation of the media folder. So basically during the installation the media/mod_cnotes was not moved to the proper location and that is why you are missing the css and js files. And because you are missing the js file the module was not working with ajax...

Let me know if the problem is fixed in the latest build and I'll release version 1.0.1

Thank you for the assistance!
Daniel

Error, blank screen 5 years 1 week ago #18036

  • Alpharis
  • Alpharis's Avatar
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 12
  • Thank you received: 2
Daniel, thank you very much for your quick and efficient fix.

I have uninstalled the previous component and module and then install your new package.
For your info or confirmation, the installation did not erase the SQL data of the previous notes.
I think this is an interesting feature as you don't wipe out the notes with an uninstallation of your component.

Now I can enjoy your very nice Ajax effect ;) and also of course your component.
So for me it's ok. You can use your last fix for a new version.

The only current drawback is the display of the notes depending on the browser the user is currently using. I made 6 notes for the purpose of the tests. I can see 2 in Chrome, 2 in Firefox and 3 in Opera, two of the last 3 ones done after the first re install process and the first note done in the previous version.

Maybe this point is another topic and we should open a specific Post for this?

Anyway, thanks again for your quick work and listening.
I appreciated the way you explained the 'error'. It is very clear and honest. Good Job.

Kind regards.
The following user(s) said Thank You: Christian

Error, blank screen 5 years 1 week ago #18047

  • Christian
  • Christian's Avatar Topic Author
  • Offline
  • Senior Boarder
  • Senior Boarder
  • Posts: 53
  • Thank you received: 0
It works ...

thanks
Christian

About your Quote ....
"Anyway, thanks again for your quick work and listening.
I appreciated the way you explained the 'error'. It is very clear and honest. Good Job."

Hi Daniel,

I reported this "error, bug" as a "bug" because I dont have the knowlege as Alpharis.

I know something about computer, programming (the old way) but unfortunatly nothing about php, yoomla programming etc. For me, everything that does not work is an error ..bug..

:(

By the way, I try to translate "Add new Note" ... where do I find the Variable ?
tnx

Error, blank screen 5 years 1 week ago #18054

  • Alpharis
  • Alpharis's Avatar
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 12
  • Thank you received: 2
Hi Christian,

Like you I was not able to spot where is the variable "Add a new note" :(
I did not find it in the .ini, php, xml or cnotes.js files.

Concerning the .ini files, you can translate them from the folder
language/en-GB
There are :
- en-GB.com_cnotes.ini
- en-GB.mod_cnotes.ini

I join to this Post for Daniel the translations in French.
Of course, he can use them freely if he wants to include them in a new version.
Same thing for you Christian if you need French translation.

Kind regards
Attachments:
The following user(s) said Thank You: Christian

Error, blank screen 5 years 1 week ago #18057

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 154
  • Thank you received: 1081
language problem fixed as well. Now the translation is in the mod_cnotes.ini

@Alpharis - thank you for providing us with a french translation. I appreciate that! However could you please register on transifex and add your translation there?
opentranslators.transifex.com/projects/p/compojoom-cnotes/
We use transifex to manage language translations - files on the forum or in email are cool, but they are really hard to manage.
Thanks!
Daniel

Error, blank screen 5 years 1 week ago #18060

  • Alpharis
  • Alpharis's Avatar
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 12
  • Thank you received: 2
Hello Daniel

Could you please update your alpha version od Cnotes with the new version of gb_GB.mod_cnotes.ini?
Currently, in the version online, the line with "Add new note" is not present.

Concerning the management of the translation file by transifex, it's Ok for me.
Yes it's time to use online tools and drop the old fashioned way :)

I just subscribed to transifex.
For the moment, I can't update or modify the files as I am not yet approved as a translator
member for the French Team.

I will let you know when the translations will be done.

Kind regards

Error, blank screen 5 years 1 week ago #18078

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 154
  • Thank you received: 1081
I forgot to say that I've updated the component to version 1.0.1 yesterday (the translation is already there) :)
Cheers,
Daniel
The following user(s) said Thank You: Alpharis

Error, blank screen 5 years 1 week ago #18088

  • Alpharis
  • Alpharis's Avatar
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 12
  • Thank you received: 2
Thank you Daniel for having updated the component.
I installed it and French text appears in Administration for Cnotes
(The Frontpage of the pre production site is only in English).

From my side, on Transifex, I have reviewed and translated all the files present on line.
All the translations are completed.

I did not to succeed to spot the text "Add new note" in the files on Transifex.
So maybe it is placed somewhere else :dry:

Let me know if there is other part to translate in French.


Kind regards

Error, blank screen 5 years 1 week ago #18090

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 154
  • Thank you received: 1081
Ah, I forgot to push the language changes to transifex - it should be now there.
Regards,
Daniel

Error, blank screen 5 years 1 week ago #18093

  • Alpharis
  • Alpharis's Avatar
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 12
  • Thank you received: 2
Yes,

I found the "Add a new note".
And translated it.

So now the project if 100% translated in French.
Everything if OK from my side.


Regards
Alpharis
  • Page:
  • 1
Time to create page: 0.164 seconds