Is this on the latest version? What link are you using to the img? It seems deleting that line would normally prevent you from having any images in your field's files folder show up.
I'm wondering if you have a .htaccess blocking the field's "files" folder on the server that is giving you that message. It would be better to get to the root of the problem than disconnect the symptom in this case. Not to mention you'll be getting bugs back every time you upgrade and have to recomment it out. Cheers, Dan On Mon, Oct 26, 2009 at 7:39 PM, jacmgr <[email protected]> wrote: > > Been playing with images recently and putting them in different > folders under the files folder. On my localhost had no errors. When > upload to a live site got this error: > ----- > Warning: getimagesize() [function.getimagesize]: URL file-access is > disabled in the server configuration in /home/.melitrissa/jacmgr/ > vacationrentalplanner.com/sites/boltwire/barn/scripts/markups.php on > line 814 > ----- > > I cured it by commenting out line 803ish in markups.php, but not sure > if that has bigger impacts. > > Commented out this line > //if (substr($location, 0, strlen($imgPath)) != $imgPath) $location = > $fieldURL . $location; > > Seems to work on both localhost and live site. > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "BoltWire" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/boltwire?hl=en -~----------~----~----~----~------~----~------~--~---
