Page 24 of 32
Re: Nochmal exdata.class.csv.php
Posted: Fri 9. Mar 2007, 16:18
by DerNeue
DerNeue wrote:
Beim Versuch, csv-Dateien von Advertisern in festgelegten Kategorien zu importieren, bekam ich bei 4 von 9 Versuchen die Fehlermeldung
Code: Select all
Fatal error: Unable to open csv file in /www/htdocs/w0XXXXXX/EmmasShop2/include/inc_module/mod_exdata/inc_lib/exdata.class.csv.php on line 160
Meine Vermutung: es liegt an der Dateigröße der csv-Listen, denn die 5 importierten waren kleine Listen (mit wenigen Artikeln).
Ich habe durch zerstückeln einiger csv-Dateien (Tipp von 2xS) festgestellt, daß bei 30 kB die Grenze ist, darüber hinaus kommt die Fehlermeldung.
Es ist nicht relevant, wie viel Einträge (Rows) in der Datei sind (mal waren es 25 und mal 55 Artikel).
Hat jemand einen Lösungsvorschlag?
Netten Gruß
Posted: Fri 9. Mar 2007, 19:42
by pico
Hi
check the Time the Import will take - maybe you run into a Timeout of your Servers max. Script-Time. Most Hosters set this to 30sec. so everey operation wich takes longer will be terminated.
Posted: Sat 10. Mar 2007, 10:31
by breitsch
wie lang (wieviele Zeichen) ist der längste einzelne Eintrag?
Posted: Sat 10. Mar 2007, 12:31
by DerNeue
@pico
Ein neuer Ansatz. Schön. Es ist bei mir der Fall, daß eine 30sec-Begrenzung vorhanden ist. Und die Fehlermeldung kommt nach ca 45 sec. Leider kann mein Hoster es nicht erhöhen.
@breitsch
Wie lang die einzelnen Einträge sind kann ich so nicht überblicken, da es sich um mehrere csv-Dateien handelt, die mir zur Verfügung gestellt werden. Ich schicke dir mal die Links, bei denen es geklappt hat - dann bekommst du einen Eindruck.
Danke für die Hilfe bei diesem großartigem Modul!
Nette Grüße
DerNeue
Posted: Wed 14. Mar 2007, 12:10
by 2xS
Just another feature request:
- would be good to choose in which fields the search function is looking for a given keyphrase. At the moment it's looking in all fields, but I want to limit it to a selection of one/more/all field(s).
- and another search problem: I have a filter and a search function included. If the search results in "no entries" the filter jumps to "no entries" and the user has to change the filter before he can start a new search, which is very annoying. I saw that the behaviour at the example pages (
http://web.casa-loca.com/index.php?exam ... o-template) is different. Where can I change this behaviour?
Looking forward for a new version with xhtml valid code (no more lines like <form action=/cms/index.php?exdata method='post' name='exd_table_sort'>)
Anyway, great work breitsch!
Posted: Thu 15. Mar 2007, 16:31
by SNap
Hi breitsch,
i am at work on a new site... i first did everything on my own server.. worked great... now i moved it to customers server... and getting strange exdmod behaviour...
they already had phpwcms up and running... so i just uploaded changed files and exdmod dir, imported the db and now in backend i get errors on exdmod and it gives me the button to install the db?
errors:
Code: Select all
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /webhome/www.whocares.de:80/html-data/include/inc_module/mod_exdata/main.inc.php on line 10
Warning: main(config_v26_new.php): failed to open stream: No such file or directory in /webhome/www.whocares.de:80/html-data/include/inc_module/mod_exdata/install/install_v26.php on line 2
Warning: main(): Failed opening 'config_v26_new.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in /webhome/www.whocares.de:80/html-data/include/inc_module/mod_exdata/install/install_v26.php on line 2
Anybody an ideo what is going wrong?
Cheers
SNap
Posted: Sat 17. Mar 2007, 03:04
by culda_a
I use phpwcms 126and I have install the new version of exdata for 126 and 128, all was ok but in front it shows me only the RT not the entries.
any I deea why?
Posted: Sun 18. Mar 2007, 03:31
by breitsch
culda_a wrote:I use phpwcms 126and I have install the new version of exdata for 126 and 128, all was ok but in front it shows me only the RT not the entries.
You missed this:
PHPWCMS_ROOT/include/inc_front/content.func.inc.php
You will see a spot where Jerome's graphical text module is added.
You can copy the following code directly below that.
/**********************************************/
// casa-loca's ExDataMOD
if($phpwcms["exdata_mod"]) { //enabled/disable ExData MOD
require_once ('./include/inc_module/mod_exdata/inc_front/func.inc.php');
}
/**********************************************/
NOTE: If you want to use all Replacement Tags inside the module you have to copy the code above before this:
// include external PHP script (also normal HTML snippets) or return PHP var value
if( ! ( strpos($content["all"],'PHP')===false ) ) {
$content["all"] = render_PHPcode($content["all"]);
}
Posted: Sun 18. Mar 2007, 13:09
by culda_a
thanks , but now I have this error:
Warning: file_get_contents(/home/campus/public_html/include/inc_module/mod_exdata/inc_front/css/exdata0.css) [function.file-get-contents]: failed to open stream: No such file or directory in /home/campus/public_html/include/inc_module/mod_exdata/inc_front/func.inc.php on line 29
And also the Set order by drag and drop the elements is not working ... I drag but nothing happens
Posted: Mon 19. Mar 2007, 00:01
by breitsch
@culda_a
please check your installation again!
for phpwcms 1.2.6 you have to install ExData 126 version only (not the 128 extension!!)
check your chmod settings
give me access to your system (PM) when it's not working
there is something wrong with your installation because in the error message it says 'exdata0.css' - this file can not be created by the system.
Posted: Mon 19. Mar 2007, 00:16
by breitsch
ExData Version 2.65 is in progress
will be fit for phpwcms 1.3.0
My ToDo list is as follows:
- XHTML-Transitional valid code [40% done]
- better template organisation (low priority right now) [0% done]
- all templates editable in backend [done for moo.fx]
- moo.fx update to v2 and massive enhancement of moofx in RT-Maker, options in appearance are clickable [80% done]
see (one of several) transition effect in example:
http://web.casa-loca.com/index.php?example_moofx
- some less Bugs! [well it's never really done]
- integration of LightboxJS und HighslideJS for images in ExData [begining]
- shop function (in Beta-Version) with PayPal Website Payments Standard [60% done]
- GoogleMaps: you can choose different markers for each entry now
see example:
http://web.casa-loca.com/index.php?googlemap
- GoogleMaps: Maps can be displayed in PopUp windows and NEW in Lightbox overlay
see example (click the City-Link):
http://web.casa-loca.com/index.php?exam ... o-template
Release will be in week after easter
I need translators for italian and bulgarian and maybe other languages
I'm working as well on a documentation, see:
http://web.casa-loca.com/index.php?exdata_doc
this will be the help system from within ExData Backend
Posted: Mon 19. Mar 2007, 01:49
by oeconom
Great work, breitsch!
By the way, as I see your Google Maps integration (a bit off topic), do you know a good creator for these or wrone one yourself?
I don't really get alnong creating them on code basis by my own...
Thank you and carry on with that great work,
FELIX
Posted: Mon 19. Mar 2007, 12:01
by breitsch
oeconom wrote:Great work, breitsch!
By the way, as I see your Google Maps integration (a bit off topic), do you know a good creator for these or wrone one yourself?
I don't really get alnong creating them on code basis by my own.
With ExData it takes you about 3 clicks an you get your map on your site!
Customize it to your personal needs with 3 more clicks!
No knowledge of Google API or HTML or Javascript necessary! All done by the ExData code
Spanish translation
Posted: Mon 19. Mar 2007, 12:16
by soroa
breitsch wrote:ExData Version 2.65 is in progress
will be fit for phpwcms 1.3.0
My ToDo list is as follows:
- XHTML-Transitional valid code [40% done]
- better template organisation (low priority right now) [0% done]
- all templates editable in backend [done for moo.fx]
- moo.fx update to v2 and massive enhancement of moofx in RT-Maker, options in appearance are clickable [80% done]
see (one of several) transition effect in example:
http://web.casa-loca.com/index.php?example_moofx
- some less Bugs! [well it's never really done]
- integration of LightboxJS und HighslideJS for images in ExData [begining]
- shop function (in Beta-Version) with PayPal Website Payments Standard [60% done]
- GoogleMaps: you can choose different markers for each entry now
see example:
http://web.casa-loca.com/index.php?googlemap
- GoogleMaps: Maps can be displayed in PopUp windows and NEW in Lightbox overlay
see example (click the City-Link):
http://web.casa-loca.com/index.php?exam ... o-template
Release will be in week after easter
I need translators for italian and bulgarian and maybe other
languages
HI Breitsch, if you want I can make the spanish translation for you !!
I'm working as well on a documentation, see:
http://web.casa-loca.com/index.php?exdata_doc
this will be the help system from within ExData Backend
Re: Spanish translation
Posted: Mon 19. Mar 2007, 12:37
by breitsch
soroa wrote:
HI Breitsch, if you want I can make the spanish translation for you !!
hombre! gracias! lo esperaba por años de tener la version española!
ya pensaba de hacerlo yo mismo, pero temo que no sean suficientes mis conosimientos en el idioma para traducir expressiones tan espificas.
Asi que te enviaré el 'file' en una o dos semanas, vale?
ExData en español - chevere!