Search found 77 matches

by antonio
2012-07-19 16:35
Forum: MX Kollection - Pro Edition
Topic: alternative to show thumbnails?
Replies: 12
Views: 14282

Re: alternative to show thumbnails?

Pretty sure the script cant find the file Is this the path relative from the english page or the italian page. You said the english page is in a folder is it? Here are the path on the italian file (on the root): <?php require_once('Connections/my_conn.php'); ?> <?php // Load the Navigation classes ...
by antonio
2012-07-19 16:02
Forum: MX Kollection - Pro Edition
Topic: alternative to show thumbnails?
Replies: 12
Views: 14282

Re: alternative to show thumbnails?

What happens if you hardcode the "known" path to the thumbnail into the page instead of generating it dynamically? Just comment out the existing php code and insert a simple image placeholder. If your path is correct it should display the thumbnail. the image is showing correctly. Insert ...
by antonio
2012-07-19 14:25
Forum: MX Kollection - Pro Edition
Topic: alternative to show thumbnails?
Replies: 12
Views: 14282

Re: alternative to show thumbnails?

ahh sorry Tony, Take a look inside tNG-functions.inc.php around line 65 is the function to check if the file can be found. Comment out the if statement to stop it from displaying the "Image not found". Just above that is the variable containing the path $relPath I changed the path to not ...
by antonio
2012-07-19 12:02
Forum: MX Kollection - Pro Edition
Topic: alternative to show thumbnails?
Replies: 12
Views: 14282

Re: alternative to show thumbnails?

Hi Tony, Interesting problem you have there. Here is my suggestion to debugging the issue. Add the full dynamic path and filename just below the thumbnail so you can see where the Italian version is looking for the file. Can it be that the Italian version points to the wrong folder. eg. ../images i...
by antonio
2012-07-18 15:59
Forum: MX Kollection - Pro Edition
Topic: alternative to show thumbnails?
Replies: 12
Views: 14282

Re: alternative to show thumbnails?

I just add that the problem is related to sites that are not really on-line. I modified the HOSTS file in windows to see them.
So, can this be the culprit? And that once online the sites will be fine? who knows?
TIA

tony
by antonio
2012-07-18 13:48
Forum: MX Kollection - Pro Edition
Topic: alternative to show thumbnails?
Replies: 12
Views: 14282

alternative to show thumbnails?

hi all, I have great problem migrating some websites from a win2000 server (IIS5) to a new win2008 server (IIS 7.5). I obtained to install php 4.4.9 to retain compatibility. But I fear it's not enough. I solved almost other problems with dynamic sites but I have a few websites that are creating prob...
by antonio
2012-07-17 15:40
Forum: MX Kollection - Pro Edition
Topic: [show thumbnails] works on IIS5 but not in IIS7
Replies: 1
Views: 3687

[show thumbnails] works on IIS5 but not in IIS7

hi all, I've just transferred a site to a new webserver featuring win2008 server. All works, except dynamic images. I have a "show thumbnails" behaviour on a page but I cannot undertand why I get a "image not found" square where there should be the image thumbnails. I double chec...
by antonio
2012-07-02 10:28
Forum: ADDT
Topic: [FORM] different fields based on menu selection?
Replies: 2
Views: 4225

[FORM] different fields based on menu selection?

Hi all, I need to create a form that will collect some info. The info collected should change based on a selection made by means of a dropdown menu. Example: The drop down menu has 2 items: 1- category 1 2- category 2 selecting 'category 1' from the menu the following fields appear: - duration (drop...
by antonio
2012-05-30 15:10
Forum: ADDT
Topic: Throw error: how to use variable instead of text?
Replies: 7
Views: 7115

Re: Throw error: how to use variable instead of text?

Good, that just proves my point in my original reply. Try this function errore_no_qta(&$tNG) { global $myerror; $myThrowError = new tNG_ThrowError($tNG); $myThrowError->setErrorMsg($myerror['text']); $myThrowError->setField(""); Read more about "Variable Scope" in the php ma...
by antonio
2012-05-30 11:19
Forum: ADDT
Topic: Throw error: how to use variable instead of text?
Replies: 7
Views: 7115

Re: Throw error: how to use variable instead of text?

What happens if you try this? function errore_no_qta(&$tNG) { $myerror = "Test"; $myThrowError = new tNG_ThrowError($tNG); $myThrowError->setErrorMsg($myerror); $myThrowError->setField(""); Hi Fred, this way it works: I get the error "Test". But how can I read my s...