You are not logged in.
Pages: 1
Hello everybody!
I'm new here, just installed Big Tree and working with it is awesome!
I have a problem though. I'm just learning how to build modules, callouts, etc. So I decided to try and build a similar 'features' module, like the one on the example page. I made a table in mysql, configure form and view, and then noticed that the images weren't loading on the module view (I had it set to Image List). That's when I figured I had to configure in view options.
Now, the problem is that when I update the 'view options' it won't save. So changes won't apply and images never load Why could this happen?
I wasn't sure where to post this, or if this forum was appropiate at all for my question, but I didn't know where else to ask!
Sorry for the trouble, thanks for your time!
Ant
Offline
A bit hard to diagnose from afar. Are there any warnings or errors (red blocks) shown when you go to the Site Status area in Developer?
My best guess is that there could be a magic quotes issue.
Offline
I haven't seen any warnings, but just checked and magic_quotes_gpc is turned on. Could that be the issue? I'll talk to my hosting service to turn it off.
Offline
Yeah, magic_quotes_gpc can really screw up lots of PHP/MySQL implementations. BigTree tries to turn it off in .htaccess but some hosting providers don't allow php flags to be set at runtime.
Offline
Just talked to my hosting provider and they told me that they couldn't turn magic_quotes_gpc off, because the configuration they did in the .htaccess file made conflict with BigTree rewrite rules, and that made my site unavailable.
I checked the changes they did and this is the code they tried to put:
AddHandler php53 .php
Action php53 /cgi-bin/php53.cgi
RewriteEngine On
RewriteRule ^$ site/ [L]
RewriteRule (.*) site/$1 [L]
They added the first two lines. Do you have any idea why these lines conflict?
Offline
It seems like they just tried to turn PHP 5.3 on as the default handler of .php files. That shouldn't cause any issues with BigTree as that's the primary version we test on.
Can you try adding "php_flag magic_quotes_gpc Off" into your .htaccess file below the rewrite rules?
Offline
That turned it off only on 'local value', but it fixed the problem I had. Amazing.
THANK YOU!
Offline
Awesome! Great to hear!
Offline
Pages: 1