Page 1 of 2

Problem with images in Administration Panel

Posted: Sat Sep 29, 2007 3:44 am
by trzl
Hi all!

I'm having problems with previewing all images in the admin control panel.

Here is a screen shot of what I mean.

The admin panel home page is within the image placeholder.

Also, when this happens, the menu navigation stops working and it has  "[object OBJECT]" next to each item.

This is also happening on each product's admin page underneath the "image tab".

Has anyone had this problem?  I'm using Firefox 2.0.0.7 and ie6 btw.

Any help is appreciated.

-Thanks!

Re: Problem with images in Administration Panel

Posted: Sat Sep 29, 2007 10:03 am
by d77
no idea what the problem is, but it sure looks cool!

Re: Problem with images in Administration Panel

Posted: Mon Oct 01, 2007 6:49 am
by spinal
I have the same problem but i didn't find the solution !
Help :) !

Re: Problem with images in Administration Panel

Posted: Tue Oct 02, 2007 7:48 am
by trzl
I still haven't resolved this.  I'm still waiting for a fix.

Its good to know that I'm not the only one with this problem.

I'll make sure and post a fix as soon as I get one.

Re: Problem with images in Administration Panel

Posted: Tue Oct 02, 2007 10:09 am
by luvz2drv
can you please post a copy paste of your phpinfo ()

Re: Problem with images in Administration Panel

Posted: Tue Oct 02, 2007 10:39 am
by trzl
-=luvz2drv=-

Try my site link out

Hope this helps!

Re: Problem with images in Administration Panel

Posted: Tue Oct 02, 2007 2:24 pm
by luvz2drv
okay ty yes that helped..

2 things I see comparing to mine
is your server API - is setup as CGI    mine is apache
memory_limit is 40MB  I have 80MB

may want to see if host will increase that for you

max_input_nesting_level 64 on yours  <- I have nothing listed for mine
max_input_time -1  I have 60

lets start there see if you can get these changed either via a php.ini or .htaccess file
to see if we can clean this up


-=Luvz2drv=-

for reference
http://dyna-cart.com/index_2.php

Re: Problem with images in Administration Panel

Posted: Wed Oct 03, 2007 5:19 am
by spinal
Here is my phpinfo : http://www.x-perimental.info/shop/info.php

Hope this will help you too...But there is a ajax problem as said Daniel in this topic.

Re: Problem with images in Administration Panel

Posted: Fri Oct 05, 2007 9:00 am
by trzl
-=luvz2drv=- wrote: okay ty yes that helped..

2 things I see comparing to mine
is your server API - is setup as CGI    mine is apache
memory_limit is 40MB  I have 80MB

may want to see if host will increase that for you

max_input_nesting_level 64 on yours  <- I have nothing listed for mine
max_input_time -1  I have 60

lets start there see if you can get these changed either via a php.ini or .htaccess file
to see if we can clean this up


-=Luvz2drv=-

for reference
http://dyna-cart.com/index_2.php


-=luvz2drv=-

I have updated my php.ini 

max_input_time = 60
max_input_nesting_level = 64
memory_limit = 25M

That did not fix the issue.

Do you suggest anything else?

-Much appreciation

Re: Problem with images in Administration Panel

Posted: Sat Oct 06, 2007 10:56 am
by Albert
try rename "admin\javascript\png\iepngfix.htc" to "iepngfix_.htc"
"\catalog\javascript\png\iepngfix.htc" rename too; disable that.

Re: Problem with images in Administration Panel

Posted: Sat Oct 06, 2007 11:06 am
by trzl
Albert wrote: try rename "admin\javascript\png\iepngfix.htc" to "iepngfix_.htc"
"\catalog\javascript\png\iepngfix.htc" rename too; disable that.

Do you mean in CSS?

Re: Problem with images in Administration Panel

Posted: Sat Oct 06, 2007 11:10 am
by Albert
just disable that javascript. change it at CSS or Rename the .Htc filename.
more bugs root in that script.

Re: Problem with images in Administration Panel

Posted: Sat Oct 06, 2007 1:11 pm
by trzl
I renamed the epngfix.htc files both folders and nothing happened.

So I switched it back.

Re: Problem with images in Administration Panel

Posted: Sat Oct 06, 2007 6:44 pm
by spinal
I renamed theses files too and the problem is still here...in firefox and in IE...

Re: Problem with images in Administration Panel

Posted: Sat Oct 06, 2007 11:45 pm
by Daniel
This is a ajax problem. You have moved a file or renamed something and now this error is appearing.

Re: Problem with images in Administration Panel

Posted: Sun Oct 07, 2007 3:37 am
by trzl
Thank you Daniel for your help,

Does this mean a re-install?

Or can I change something in a file or database.

Is there somewhere I can check?

Thank you once again

Re: Problem with images in Administration Panel

Posted: Sun Oct 07, 2007 8:24 am
by Daniel
trzl wrote: Thank you Daniel for your help,

Does this mean a re-install?

Or can I change something in a file or database.

Is there somewhere I can check?

Thank you once again

You need to go into the template files that are causing the problem.

At the bottom of the file you will find a bit of javascript with a URL in it.

Just make sure the url is correct. Try going to the page your self and see what apears.

Its hard to explain because I have not seen this sort of thing happen before.

If you are still stuck please PM me the details so I can see the problem for myself.

Re: Problem with images in Administration Panel

Posted: Sun Oct 07, 2007 9:59 pm
by spinal
I made a fresh install on http://www.x-perimental.info/shop2/ and the problem is the same !...this is very strange  ??? !
I've got the same files on local and on my FTP but on local, this script works well...

I don't understand what happened...

Re: Problem with images in Administration Panel

Posted: Mon Oct 08, 2007 2:37 am
by trzl
This bit is at the bottom of admin/template/default/content/product.tpl

Code: Select all

<script type="text/javascript"><!--
  $('#image').load('index.php/controller/image/action/view/image_id/'+document.getElementById('image_id').value);
  //--></script>
That looks like the SEO friendly version. Maybe try the non-seo-friendly version url something like index.php?=controller=image@etc... However that goes.

I tried switching the Use URL-ALIAS settings in the admin>settings>shop and the problem is still there either way. I have it set to "ON"

admin > catalog > images >  page images work fine.

But there is no ajax on that page either.

Re: Problem with images in Administration Panel

Posted: Mon Oct 08, 2007 3:46 am
by Daniel
I think the problem is the seo links aswell,

I'm going to sort all these problems out in the next release