ExData Module v2.8.0 - Tables, Lists and more…

Post custom hacks and enhancements for phpwcms here only. Maybe some of these things will be included in official release later.
DerNeue
Posts: 12
Joined: Wed 6. Oct 2004, 18:06
Contact:

Re: Nochmal exdata.class.csv.php

Post 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ß
User avatar
pico
Posts: 2595
Joined: Wed 28. Jul 2004, 18:04
Location: Frankfurt/M Germany
Contact:

Post 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.
Lieber Gott gib mir Geduld - ABER BEEIL DICH
Horst - find me at Musiker-Board
breitsch
Posts: 473
Joined: Sun 6. Mar 2005, 23:12
Location: bern switzerland

Post by breitsch »

wie lang (wieviele Zeichen) ist der längste einzelne Eintrag?
http://www.youtube.com/watch?v=jqxENMKaeCU
because it's important!
breitsch
DerNeue
Posts: 12
Joined: Wed 6. Oct 2004, 18:06
Contact:

Post 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
2xS
Posts: 25
Joined: Mon 28. Aug 2006, 22:30
Location: Berlin

Post 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!
SNap
Posts: 314
Joined: Wed 5. May 2004, 10:45
Location: Passau, Bavaria, Germany
Contact:

Post 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
'welcome to the real world!' datensysteme-lenk
culda_a
Posts: 521
Joined: Tue 28. Feb 2006, 01:39
Contact:

Post 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?
ImagePackging design,labels, catalogs,postcards,
breitsch
Posts: 473
Joined: Sun 6. Mar 2005, 23:12
Location: bern switzerland

Post 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"]);
}
http://www.youtube.com/watch?v=jqxENMKaeCU
because it's important!
breitsch
culda_a
Posts: 521
Joined: Tue 28. Feb 2006, 01:39
Contact:

Post 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
ImagePackging design,labels, catalogs,postcards,
breitsch
Posts: 473
Joined: Sun 6. Mar 2005, 23:12
Location: bern switzerland

Post 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.
http://www.youtube.com/watch?v=jqxENMKaeCU
because it's important!
breitsch
breitsch
Posts: 473
Joined: Sun 6. Mar 2005, 23:12
Location: bern switzerland

Post 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
http://www.youtube.com/watch?v=jqxENMKaeCU
because it's important!
breitsch
User avatar
oeconom
Posts: 337
Joined: Fri 13. May 2005, 09:33
Location: Stuttgart
Contact:

Post 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... :oops:

Thank you and carry on with that great work,
FELIX
...alles wird gut!
still alive...
Experimenting with phpwcms and hoping to have time one day to get a site live... :wink:
One Site finished! :P
breitsch
Posts: 473
Joined: Sun 6. Mar 2005, 23:12
Location: bern switzerland

Post 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 8) 8)
http://www.youtube.com/watch?v=jqxENMKaeCU
because it's important!
breitsch
soroa
Posts: 58
Joined: Sat 26. Mar 2005, 18:58

Spanish translation

Post 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
breitsch
Posts: 473
Joined: Sun 6. Mar 2005, 23:12
Location: bern switzerland

Re: Spanish translation

Post 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?
8) ExData en español - chevere! 8)
http://www.youtube.com/watch?v=jqxENMKaeCU
because it's important!
breitsch
Post Reply