[ic] RE: interchange-users Digest, Vol 9, Issue 26

Chuck Adams caadams at motherboardzone.com
Fri Mar 26 13:32:08 EST 2004


Two problems have crept up on us over the last year, one of which (#2 below)
has become more troublesome of late...

=========================
1)  Image Size calculations - in the <IMG tag below, the [image_size]
calculation stopped working mysteriously about 9 months ago...  the complete
<IMG call is below.

<IMG [image_size
file='/home/motherbo/public_html/cart/images/thumb/tmb-SB51G.jpg' show=1]
SRC="thumb/tmb-SB51G.jpg" BORDER="0" ALIGN="middle" ALT="Shuttle
SB51G<br>Barebones - PCs">

I know the usertag is being found and executed, since "debugging" statements
sho up in the output page, e.g

A call to this:

	<IMG [image_size
file='/home/motherbo/public_html/cart/images/thumb/tmb-SB51G.jpg' show=1]


Results in (debugging to ID file string is enabled here)
	<IMG width= height= file is
/home/motherbo/public_html/cart/images/thumb/tmb-SB51G.jpg

Whole image tag (as a text file) is available for review at
http://www.motherboardzone.com/debug/image_size.txt

Seems that imgsize($file) call is not returning values properly...

=========================
2)  Store started to display "missing.html" randomly, especially during
login, checkout and during other https pages as well.

Nothing has changed to our knowledge, just "missing.html" popping up 10% of
the time during the shopping process!  session/ and tmp/ directories have
been purged but seem to make no difference.

I've searched the archive for both these issues but found nothing - Any
ideas?

Thanks in advance! Any help would be appreciated!

Chuck Adams
MotherboardZone 
Caadams-at-MotherboardZone.com

-----Original Message-----
From: interchange-users-request at icdevgroup.org
[mailto:interchange-users-request at icdevgroup.org] 
Sent: Friday, March 26, 2004 11:01 AM
To: interchange-users at icdevgroup.org
Subject: interchange-users Digest, Vol 9, Issue 26

Send interchange-users mailing list submissions to
	interchange-users at icdevgroup.org

To subscribe or unsubscribe via the World Wide Web, visit
	http://www.icdevgroup.org/mailman/listinfo/interchange-users
or, via email, send a message with subject or body 'help' to
	interchange-users-request at icdevgroup.org

You can reach the person managing the list at
	interchange-users-owner at icdevgroup.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of interchange-users digest..."


Today's Topics:

   1. Re: We're sorry, the Interchange server is unavailable...
      (Javier Santos)
   2. RE: edit order email (James P. Kinney III)
   3. RE: Problem uploading images using UI (Ton Verhagen)
   4. RE: Problem uploading images using UI (Greg Goble)
   5. RE: Problem uploading images using UI (Ton Verhagen)
   6. RE: Problem uploading images using UI (Greg Goble)
   7. RE: Problem uploading images using UI (Ton Verhagen)
   8. Dumb Basics (Tracy)


----------------------------------------------------------------------

Message: 1
Date: Thu, 25 Mar 2004 15:48:42 -0600
From: "Javier Santos" <jsantos at amnetsal.com>
Subject: Re: [ic] We're sorry, the Interchange server is
	unavailable...
To: interchange-users at icdevgroup.org
Message-ID: <web-12145286 at amnetsal.com>
Content-Type: text/plain; charset="ISO-8859-1"; format="flowed"

Thanks Kevin,

i change to chmod 04111 /cgi-bin/foundation and the owner is interch.
interch 
is user that i use to start Interchange

---s--x--x    1 interch  users        3681 mar 24 10:38 foundation

scripts does not run 

"Internal Server Error"

this apear in /var/log/httpd/error_log, this is the error

[Thu Mar 25 15:54:20 2004] [error] [client 10.0.1.32] (13)Permission denied:

mod_mime_magic: can't read `/usr/local/httpd/cgi-bin/foundation'
Can't open perl script "/usr/local/httpd/cgi-bin/foundation": Permission 
denied
[Thu Mar 25 15:54:20 2004] [error] [client 10.0.1.32] Premature end of
script 
headers: /usr/local/httpd/cgi-bin/foundation



thanks,

best regards




El Thu, 25 Mar 2004 00:38:37 -0000
  "Kevin Walsh" <kevin at cursor.biz> ha escrito:
>>>Javier Santos [jsantos at amnetsal.com] wrote:
>>>> 
>>>> I need to change permissions on /cgi-bin/foundation to chmod 755 when i

>>>>run 
>>>> give a error:
>>>> 
>>>> "We're sorry, the Interchange server is unavailable..."
>>>> 
>>>> i have read this 
>>>>http://www.interchange.rtfm.info/docs/frames/icfaq_24.html
>>>> 
>>>> i don't know what is the problem
>>>> 
>>>Try 04111 instead of your 755, and make sure that the CGI executable
>>>is owned by the user ID that you use to start Interchange.
>>>
>>>-- 
>>>    _/   _/  _/_/_/_/  _/    _/  _/_/_/  _/    _/
>>>   _/_/_/   _/_/      _/    _/    _/    _/_/  _/   K e v i n   W a l s h
>>>  _/ _/    _/          _/ _/     _/    _/  _/_/    kevin at cursor.biz
>>>_/   _/  _/_/_/_/      _/    _/_/_/  _/    _/
>>>
>>>_______________________________________________
>>>interchange-users mailing list
>>>interchange-users at icdevgroup.org
>>>http://www.icdevgroup.org/mailman/listinfo/interchange-users

!Navega con el Internet Gratis de Amnet!
Descarga el Programa de Instalación: http://www.amnetsal.com/files/amnet.exe
ó Visitanos en http://www.amnetsal.com
Para cualquier consulta llamar al 247-8000


------------------------------

Message: 2
Date: 25 Mar 2004 22:01:16 -0500
From: "James P. Kinney III" <jkinney at localnetsolutions.com>
Subject: RE: [ic] edit order email
To: interchange-users at icdevgroup.org
Message-ID: <1080270076.18258.1.camel at test.localnetsolutions.com>
Content-Type: text/plain

On Thu, 2004-03-25 at 08:52, Greg Goble wrote:
> James P. Kinney III [jkinney at localnetsolutions.com] wrote:
> >
> >I need to change the layout of the email sent to the interchange
> >ordering address. I know where the template for the email to the
> >customer is. But I have not been able to find the template for 
> >the order
> >processor account.
> >
> >Where is it hiding?
> 
> 
> Do you mean ~/catalog_name/etc/report ? 

<kicks self> Thank you for removing my blinders :) I was equating
"reports" with the reports on sales and site access. </kicks self>
> 
> -Greg
> _______________________________________________
> interchange-users mailing list
> interchange-users at icdevgroup.org
> http://www.icdevgroup.org/mailman/listinfo/interchange-users
-- 
James P. Kinney III          \Changing the mobile computing world/
CEO & Director of Engineering \          one Linux user         /
Local Net Solutions,LLC        \           at a time.          /
770-493-8244                    \.___________________________./
http://www.localnetsolutions.com

GPG ID: 829C6CA7 James P. Kinney III (M.S. Physics)
<jkinney at localnetsolutions.com>
Fingerprint = 3C9E 6366 54FC A3FE BA4D 0659 6190 ADC3 829C 6CA7



------------------------------

Message: 3
Date: Fri, 26 Mar 2004 09:16:42 +0100
From: Ton Verhagen <tverhagen at alamerce.nl>
Subject: RE: [ic] Problem uploading images using UI
To: interchange-users at icdevgroup.org
Message-ID: <6.0.3.0.2.20040326090339.01eb1ec0 at verhagen.net>
Content-Type: text/plain; charset="iso-8859-1"; format=flowed

Qutoting Greg Goble" <ggoble at rpo.at>:

>Paulo Moniz [ConstrucaoGlobal.com] wrote:
>
> >I can upload images using the UI, but after upload page interchange
> >returns to an empty flex_editor and should give me the product data I
> >was editing again.
> >
> >I think this was a critical bug reported in earlier versions and was
> >solver in 4.9, but I'm using 5.0 and same happens.
> >
> >IC: V5.0
> >Meta:
> >
> >Widget Type: Image Listing
> >Filter: nullselect
> >Directory: images/items
> >Prepend HTML: [var SAMPLEURL]
> >Append HTML: <A HREF ... >upload</a>
> >
> >
> >I tried Image Upload widget type but images simply don´t upload.
> >Permissions are Ok, symlink Ok too.
> >
>
>Paulo,
>
>I'm encountering somewhat of the same problem, in that I 'CAN' upload with 
>imageuploader widget to products, but not to any new
>table I create. My new table appears to be identical to products regarding 
>ownership, rights, etc.
>
>I understand you can upload images with UI, but you then say at the end 
>that you can't upload images with imageuploader widget. I
>assume you mean you 'can' upload through the content manager in UI, but 
>not with image uploader widget, correct?
>
>I'm using 4.8.5 (still) and imageuploader widget DOES work, BUT only with 
>products. I created a new table/db, but the image uploader
>will NOT work, even though my Meta is exactly as you have listed below and 
>is identical to my meta imageupload on my products. I've
>discussed this with an IC profi and still have not reached a conclusion 
>why it works with products and not with a new table outside
>of foundation.

You have to enable (set meta data) the upload for the new table.

Do the following in the Admin UI:
1. Select Tables
2. Select 'your new table'
3. Click on the table name on the top of the page right after the text
'Select for table edit: "your new table"'
4. Select the 'General Tab'
5. In the middle of the page you'll see:
'Allow file upload for this table' followed by a select box (Yes/No)
6 Select 'Yes' and click on the 'OK' button

Now you should be able to upload stuff for 'your new table', if
you've set the meta data for the table field correctly of course.


Goood luck !



Best regards,

Ton

--
Alamerce Nederland --- Cornerstone of eBusiness
Phone +31-40-2374381    info at alamerce.nl    http://www.alamerce.nl

eCommerce Solutions -- Consulting -- Website & Interchange Hosting 




------------------------------

Message: 4
Date: Fri, 26 Mar 2004 09:46:19 +0100
From: "Greg Goble" <ggoble at rpo.at>
Subject: RE: [ic] Problem uploading images using UI
To: <interchange-users at icdevgroup.org>
Message-ID: <018201c4130e$cf44f7d0$dd05010a at 4615ggoble>
Content-Type: text/plain;	charset="iso-8859-1"

Ton Verhagen [tverhagen at alamerce.nl] wrote:

>You have to enable (set meta data) the upload for the new table.
>
>Do the following in the Admin UI:
>1. Select Tables
>2. Select 'your new table'
>3. Click on the table name on the top of the page right after the text
>'Select for table edit: "your new table"'
>4. Select the 'General Tab'
>5. In the middle of the page you'll see:
>'Allow file upload for this table' followed by a select box (Yes/No)
>6 Select 'Yes' and click on the 'OK' button
>
>Now you should be able to upload stuff for 'your new table', if
>you've set the meta data for the table field correctly of course.
>
>

Ton, Thanks!

Unfortunately I'm using IC 4.8.5 and that feature doesn't seem to be
available. I found what you and Paulo both described in 5.0 and
that's good to know when I upgrade at some point.

If anyone knows what the equivalent or the workaround for 4.8.5 I would
appreciate any guidance. In the meantime I'll keep probing.

Regards, Greg




------------------------------

Message: 5
Date: Fri, 26 Mar 2004 10:22:47 +0100
From: Ton Verhagen <tverhagen at alamerce.nl>
Subject: RE: [ic] Problem uploading images using UI
To: interchange-users at icdevgroup.org
Message-ID: <6.0.3.0.2.20040326102058.01e8cec0 at verhagen.net>
Content-Type: text/plain; charset="us-ascii"; format=flowed

Qutoting Greg Goble" <ggoble at rpo.at>:
>Ton Verhagen [tverhagen at alamerce.nl] wrote:
>
> >You have to enable (set meta data) the upload for the new table.
> >
> >Do the following in the Admin UI:
> >1. Select Tables
> >2. Select 'your new table'
> >3. Click on the table name on the top of the page right after the text
> >'Select for table edit: "your new table"'
> >4. Select the 'General Tab'
> >5. In the middle of the page you'll see:
> >'Allow file upload for this table' followed by a select box (Yes/No)
> >6 Select 'Yes' and click on the 'OK' button
> >
> >Now you should be able to upload stuff for 'your new table', if
> >you've set the meta data for the table field correctly of course.
> >
> >
>
>Ton, Thanks!
>
>Unfortunately I'm using IC 4.8.5 and that feature doesn't seem to be 
>available. I found what you and Paulo both described in 5.0 and
>that's good to know when I upgrade at some point.
>
>If anyone knows what the equivalent or the workaround for 4.8.5 I would 
>appreciate any guidance. In the meantime I'll keep probing.

Maybe you could try adding  file_upload=1  to the table-editor tag on the 
flex_editor.html page.



Best regards,

Ton

--
Alamerce Nederland --- Cornerstone of eBusiness
Phone +31-40-2374381    info at alamerce.nl    http://www.alamerce.nl

eCommerce Solutions -- Consulting -- Website & Interchange Hosting 



------------------------------

Message: 6
Date: Fri, 26 Mar 2004 11:01:45 +0100
From: "Greg Goble" <ggoble at rpo.at>
Subject: RE: [ic] Problem uploading images using UI
To: <interchange-users at icdevgroup.org>
Message-ID: <018c01c41319$59439d10$dd05010a at 4615ggoble>
Content-Type: text/plain;	charset="US-ASCII"

Ton Verhagen [tverhagen at alamerce.nl] wrote:

>Qutoting Greg Goble" <ggoble at rpo.at>:
>>Ton Verhagen [tverhagen at alamerce.nl] wrote:
>>
>> >You have to enable (set meta data) the upload for the new table.
>> >
>> >Do the following in the Admin UI:
>> >1. Select Tables
>> >2. Select 'your new table'
>> >3. Click on the table name on the top of the page right
>after the text
>> >'Select for table edit: "your new table"'
>> >4. Select the 'General Tab'
>> >5. In the middle of the page you'll see:
>> >'Allow file upload for this table' followed by a select box (Yes/No)
>> >6 Select 'Yes' and click on the 'OK' button
>> >
>> >Now you should be able to upload stuff for 'your new table', if
>> >you've set the meta data for the table field correctly of course.
>> >
>> >
>>
>>Ton, Thanks!
>>
>>Unfortunately I'm using IC 4.8.5 and that feature doesn't seem to be
>>available. I found what you and Paulo both described in 5.0 and
>>that's good to know when I upgrade at some point.
>>
>>If anyone knows what the equivalent or the workaround for
>4.8.5 I would
>>appreciate any guidance. In the meantime I'll keep probing.
>
>Maybe you could try adding  file_upload=1  to the table-editor
>tag on the
>flex_editor.html page.
>
>

Ton, man...I thought you had it. Great suggestion, but it didn't
work...unless I didn't follow your instructions correct, but I
think I did. Clip from flex_editor.html file_upload=1 ...I stuck it in the
middle. Applied changes & restarted  IC...nix. :-(

...
[table-editor cgi=1]

<A HREF="[area href=admin/flex_editor
                                form='
                                        item_id=[cgi item_id]
                                        mv_data_table=[value mv_data_table]
                                        page_title=Edit [value
mv_data_table]: [cgi item_id]
                                        help_name=genedit
                                        ui_return_stack=1
                                        file_upload=1
                                        ui_data_fields_all=1
                                        ui_no_meta_display=1
                                        ui_hide_key=1
                                        icon_name=icon_config.gif
                                        ']">[L]No meta display[/L]</A>

...

Thanks anyhow. I sure would like to know why products works perfect, but my
new table 'facilities' does not. I couldn't really make
heads or tails out of debug and error.log says:

193.81.2.41 LfD88TAj:clients clients [26/March/2004:10:54:46 +0100] training
/cgi-bin/training/ui tree.jpg is not a file.

Cheers from cold Vienna, Austria! Greg




------------------------------

Message: 7
Date: Fri, 26 Mar 2004 11:43:04 +0100
From: Ton Verhagen <tverhagen at alamerce.nl>
Subject: RE: [ic] Problem uploading images using UI
To: interchange-users at icdevgroup.org
Message-ID: <6.0.3.0.2.20040326113551.01f0d3c0 at verhagen.net>
Content-Type: text/plain; charset="us-ascii"; format=flowed

Qutoting Greg Goble" <ggoble at rpo.at>:
>Ton Verhagen [tverhagen at alamerce.nl] wrote:
>
> >Qutoting Greg Goble" <ggoble at rpo.at>:
> >>Ton Verhagen [tverhagen at alamerce.nl] wrote:
> >>
> >> >You have to enable (set meta data) the upload for the new table.
> >> >
> >> >Do the following in the Admin UI:
> >> >1. Select Tables
> >> >2. Select 'your new table'
> >> >3. Click on the table name on the top of the page right
> >after the text
> >> >'Select for table edit: "your new table"'
> >> >4. Select the 'General Tab'
> >> >5. In the middle of the page you'll see:
> >> >'Allow file upload for this table' followed by a select box (Yes/No)
> >> >6 Select 'Yes' and click on the 'OK' button
> >> >
> >> >Now you should be able to upload stuff for 'your new table', if
> >> >you've set the meta data for the table field correctly of course.
> >> >
> >> >
> >>
> >>Ton, Thanks!
> >>
> >>Unfortunately I'm using IC 4.8.5 and that feature doesn't seem to be
> >>available. I found what you and Paulo both described in 5.0 and
> >>that's good to know when I upgrade at some point.
> >>
> >>If anyone knows what the equivalent or the workaround for
> >4.8.5 I would
> >>appreciate any guidance. In the meantime I'll keep probing.
> >
> >Maybe you could try adding  file_upload=1  to the table-editor
> >tag on the
> >flex_editor.html page.
> >
> >
>
>Ton, man...I thought you had it. Great suggestion, but it didn't 
>work...unless I didn't follow your instructions correct, but I
>think I did. Clip from flex_editor.html file_upload=1 ...I stuck it in the 
>middle. Applied changes & restarted  IC...nix. :-(
>
>...
>[table-editor cgi=1]
[snip]

Actually I meant:

[table-editor file_upload=1 cgi=1]




Best regards,

Ton

--
Alamerce Nederland --- Cornerstone of eBusiness
Phone +31-40-2374381    info at alamerce.nl    http://www.alamerce.nl

eCommerce Solutions -- Consulting -- Website & Interchange Hosting 



------------------------------

Message: 8
Date: Fri, 26 Mar 2004 09:24:03 -0500
From: "Tracy" <n4lgh at waveguide.us>
Subject: [ic] Dumb Basics
To: <interchange-users at icdevgroup.org>
Message-ID: <002101c4133d$fdc69800$6901a8c0 at cfl.rr.com>
Content-Type: text/plain;	charset="iso-8859-1"


Hello Gang, been learning a heck of a lot over the past year (converting
from being an NT admin ...)

Curious, is there any real noob / super basic tutorial on the site? I've
got IC installed, everything compiled nicely, the non-thread perl is
coinciding nicely, I'm just missing the boat on how to get to the admin
pages?

Been all over the sourceforge site and www.interchange.rtfm.info ... um,
what am I missing?

Also, does anyone know of a webmin module that supports the current
version? I installed a webmin module for IC that says only older
versions are supported.

This is a learning experience for me - not a production installation.

Thanks for your tolerance
Tracy



------------------------------

_______________________________________________
interchange-users mailing list
interchange-users at icdevgroup.org
http://www.icdevgroup.org/mailman/listinfo/interchange-users


End of interchange-users Digest, Vol 9, Issue 26
************************************************







More information about the interchange-users mailing list