forum.easy-joomla.org
25. 06. 2009 00:11 *
Willkommen Gast. Bitte einloggen oder registrieren.
Haben Sie Ihre Aktivierungs E-Mail übersehen?

Einloggen mit Benutzername, Passwort und Sitzungslänge
Neueste Beiträge
Re: Eintrag in Mail freischalten? von freak.li Gestern um 17:04
Plugin Sourcerer {source} wird auf Seite angezeigt von SpeicherUschi Gestern um 12:42
Re: Where do I change text? "Sign Guestbook" von Wad3 23. 06. 2009 22:53
News:
Tutorials/Anleitungen rund um Joomla! oder
Filmchen herunterladen
 

 
 
    Übersicht   Hilfe Suche Spenden/Sponsors Impressum/Imprint Downloads Hauptseite Projects Tutorials Einloggen Registrieren  
Subject Statistics
Thema: Error into admin component Replies: 8 posts
Gelesen 3260 mal 0 Mitglieder und 1 Gast betrachten dieses Thema.
Seiten: [1]   Nach unten
  Drucken  
Autor Thema: Error into admin component  (Gelesen 3260 mal)
0 Mitglieder und 1 Gast betrachten dieses Thema.
crony
Newbie
*
OfflineOffline

Registriert seit: 29.10.08
Beiträge: 6


Profil anzeigen
« am: 29. 10. 2008 17:50 »

Hello !

I've just installed the 0.0.6 version of this great component under J! 1.5.7 and I see this error into the admin:

Code:
Warning: array_diff() [function.array-diff]: Argument #1 is not an array in F:\lecteur\phpdevjoomla\joomla154\abtel\administrator\components\com_easycreator\models\project.php on line 434

It's in the middle of the page,(see my screenshot attached) the rest of the component seems to function normally...But I'm not sure...

Do you have any clue for this ?

Thank you !
 Smiley


* error.gif (29.51 KB, 1163x739 - angeschaut 184 Mal.)
« Letzte Änderung: 29. 10. 2008 18:55 von crony » Gespeichert
crony
Newbie
*
OfflineOffline

Registriert seit: 29.10.08
Beiträge: 6


Profil anzeigen
« Antworten #1 am: 29. 10. 2008 18:55 »

Okay, tried to create a test component, and get this error while I click on project info button...

Code:
Fatal error: Call to undefined function money_format() in F:\lecteur\phpdevjoomla\joomla154\abtel\administrator\components\com_easycreator\views\stuffer\tmpl\projectinfo.php on line 597


* error2.gif (38.13 KB, 1320x962 - angeschaut 170 Mal.)
Gespeichert
elkuku
Developer
Full Member
*
OfflineOffline

Registriert seit: 11.12.07
Beiträge: 105



Profil anzeigen WWW
« Antworten #2 am: 30. 10. 2008 15:50 »

Hello crony,
welcome to the forum and thanks for your interesting feedback.

Warning number #1 is fixed in SVN and will not apear in the next version, but should not lead to any malfunction - it's just ugly, sry..

The fatal error #2 is probably related to your PHP version, because money_format() is a generic PHP function which should be available in PHP>4.3 - if it is not disabled or something..

So - could you please post your PHP version ?

Errmm... sorry but while i was writing the post i got a strange feeling that the problem maybe could not be related to your php version, so i had a quick look at the doku which says..
Zitat
The function money_format() is only defined if the system has strfmon capabilities. For example, Windows does not, so money_format() is undefined in Windows.
I tried it on a VM with windows and was able to reproduce the error Shocked- will be fixed..

We surely need more persons with that kind of OS.. just for testing Smiley

BTW: it would be nice to have a french translation of the component.. Wink
Gespeichert

Gruss,
Nikolai - NiK-IT.de
Easy-Joomla Team
forum.easy-joomla.org
« Antworten #2 am: 30. 10. 2008 15:50 »

all-inkl.com webhosting
 Gespeichert
crony
Newbie
*
OfflineOffline

Registriert seit: 29.10.08
Beiträge: 6


Profil anzeigen
« Antworten #3 am: 30. 10. 2008 16:21 »

Hi Elkuku !

First, thank you for for answering ! Smiley

I'm using phpdevstudio, running localy under Windows XP, with Apache 2.2.6 / Php 5.2.4 / Mysql 5.0.45...

I'm on the ini files for translation Wink
I see they are encoded utf-8, but not in "no bom" which seems necessary...They'll be ready pretty soon...



Gespeichert
crony
Newbie
*
OfflineOffline

Registriert seit: 29.10.08
Beiträge: 6


Profil anzeigen
« Antworten #4 am: 30. 10. 2008 17:35 »

Here is the first version of the translation in french Smiley

* TranslationFrenchEasycreatorUTF8-nobom.zip (4.67 KB - runtergeladen 110 Mal.)
Gespeichert
elkuku
Developer
Full Member
*
OfflineOffline

Registriert seit: 11.12.07
Beiträge: 105



Profil anzeigen WWW
« Antworten #5 am: 09. 11. 2008 02:23 »

Hi crony,
sorry for the late reply - i have been off for some days..

Mon dieu - you are really fast Wink

Thanks a lot for the french translation - it will be included in the next release.

About the "BOM" - could you give me some advise about that, please ?
As i see you are using phpdevstudio which is eclipse based, right? I can not find any option about the BOM in eclipse. Google says something like: "Eclipse really sucks when it comes to encoding..." - in essence.

I thought i would be more difficult to actually "add" a BOM than not to add it..

If the BOM is added by eclipse ( or the OS, or whatever..) than your language files may contain it now.. please have a look:
http://forum.easy-joomla....,550.msg1636.html#msg1636

The errors you reported are also fixed in this version..

Happy coding,
Nikolai
Gespeichert

Gruss,
Nikolai - NiK-IT.de
Easy-Joomla Team
crony
Newbie
*
OfflineOffline

Registriert seit: 29.10.08
Beiträge: 6


Profil anzeigen
« Antworten #6 am: 09. 11. 2008 13:07 »

Hello Nikolai,

Happy to help a bit, thanks for your reply Smiley
The french translation needs a bit more improvements, it will be done while I understood the all process of the component...
To edit the .ini files I use Notepad++(but Pspad can make it easily too) , I havn't found those options in Eclipse neither...

All I understood is that utf-8 no bom are essentials for .ini files...


Gespeichert
elkuku
Developer
Full Member
*
OfflineOffline

Registriert seit: 11.12.07
Beiträge: 105



Profil anzeigen WWW
« Antworten #7 am: 09. 11. 2008 18:47 »

Yeah, i thought you use Notepad++ as this seems to be the most common answer when it comes to BOM questions Wink

So i installed Notepad++ on a virtual machine..
It tells me, that my english language files are encoded in ANSI while my german ones (and your french) are utf8-no BOM (status line says 'ANSI as UTF-8')....hmm

Could you tell me in which file you detected the BOM - and how ??

The most acurate information comes (as always) from w3c:
http://www.w3.org/Interna...nal/questions/qa-utf8-bom
They also have a list of apps and how to set the encoding:
http://www.w3.org/Interna...-encoding-in-applications
Eclipse is not present..

At least i found some scripts, one in PERL
http://rishida.net/blog/?p=102
and another one in PHP
http://develobert.blogspo...om/2007/12/bom-squad.html
that are dealing with the removal of the BOM.

Could be a new feature to check if a language file contains a BOM and then - remove it Smiley
What do you think?

Seems that the most accurate method of detecting and removing the BOM from an UTF-8 encoded file is to open it with a hex editor and look if the first three bytes are EF BB BF, and if so - simply remove them... BOM away Cheesy
Gespeichert

Gruss,
Nikolai - NiK-IT.de
Easy-Joomla Team
crony
Newbie
*
OfflineOffline

Registriert seit: 29.10.08
Beiträge: 6


Profil anzeigen
« Antworten #8 am: 09. 11. 2008 19:39 »

In fact, I saw the english file was Ansi coded while I opened it for translating into french...Simple as that Wink
I didn't look at other files at the moment...

As I understand your links, removing the Bom to get no bom files would avoid mistakes thru systems...So, in my opinion...Kill da bom !  ThumbsUp

But carefull, while removed, the éàë etc... are changing into "E7" or "E9" etc... an unknown kind of "ASCII" for me...
Maybe an enhanced Perl script should fix everything...or people should stop using Notepad and improve Eclipse...(useful open source tool just need improvment on that point...)

Nicolas
Gespeichert
Seiten: [1]   Nach oben
  Drucken  
 
Gehe zu:  


Audiovisuelle Filmanleitungen hosted by all-inkl.com joomladirectory.net joomla.org jahoart.eu joomla-in-berlin.de Joomla Toplist Spende/Donate
easy-joomla.org joomla.de webjobber.de snipersister-de xing.de
joomlacode.org joomlaos.de joomla24.com nik-it.de

Powered by MySQLPowered by PHP Powered by SMF 1.1.8 | SMF © 2006, Simple Machines LLC Prüfe XHTML 1.0Prüfe CSS
Seite erstellt in 0.329 Sekunden mit 27 Zugriffen.