News:

Looking for documentation? Take a look on our wiki

Main Menu

FETCHSCRIPT does not work! Solution found.

Started by ibarreto, December 16, 2010, 14:50:03 PM

Previous topic - Next topic

ibarreto

fetchscript function does not work in any of my sites. This causes any theme to be misconfigured and lightbox doesn't work.
I tried to include $_REQUEST['usefetchscript'] = "0"; in virtuemart.cfg.php but it keeps re-creating the file without the fix.
There are hundreds of posts reporting the same problem.

Some say you need to use .httaccess others say you got to use php location to redirect all "http://www.site.com" to just "http://site.com"

Can anyone help me please?

rgds

Ignacio

PRO

Ignacio,

It works for EVERY shop I know of.

Sooooooooooooo,

what are the details of YOUR situation that is causing it NOT to work?


ibarreto

I really dont know. Everything is standard. Joomla 1.5 with VM 1.1.6
What information do you need? You never heard of this before?

PRO

did u upgrade? Did it work before?

where is your url?


zorkhh

Hello,

did you change the file permissions? fetchscript and show_image_in_img_tag need special permission settings on some servers.

I would start with "644" and play around with the different values.

hth

Thomas
Virtuemart Professional Support at http://www.vm-expert.com

Visit the large Virtuemart Group on Joomla.org: http://people.joomla.org/groups/viewgroup/30-Virtuemart.html

ibarreto

Hi Thomas, thanks for the input. Permissions are correct and virtuemart.cfg.php is being re-created so its writable.
My host is site5 and they confirmed GZIP is working.
So I am really lost now.

tks

Ignacio

ibarreto

I have just installed Joomla 1.5 and VM all default standard with sample data on a test domain www.postobts.com.br and there's the same problem. fetchscript is not working.

I've seem many posts with the same issue here. I wonder if any VM developer has a clue on what should be done...

Ignacio

PRO

I just viewed source and saw this
components/com_virtuemart/fetchscript.php?gzip=0&subdir[0]=/themes/default&file[0]=theme.js&subdir[1]=/js&file[1]=sleight.js&subdir[2]=/js/mootools&file[2]=mootools-release-1.11.js&subdir[3]=/js/mootools&file[3]=mooPrompt.js&subdir[4]=/js/slimbox/js&file[4]=slimbox.js"

/fetchscript.php?gzip=0&subdir[0]=/themes/default&file[0]=theme.css&subdir[1]=/js/mootools&file[1]=mooPrompt.css&subdir[2]=/js/slimbox/css&file[2]=slimbox.css" type="text/css" rel="stylesheet" />


its working

ibarreto

#8
Hi Banquet,

I found the solution. "components" and "com_virtuemart" must have 755 and "components/com_virtuemart/fetchscript.php" must be set to 644 permission codes.

I tought that by giving a 777 would "cover" more ground for permissions but it turns out that 755 is the only one that works (at least on my server).

For the top developers this might be obvious but this information is not on the installation manual and is mandatory for the fetchscript to work. I know many users face the same problem.

thanks for your attention

Ignacio