General > Support
Getting a 403 Forbidden trying to load button.php [fixed in 1.6.3]
tobyw7:
Thanks Inspirer, the image now loads having made those changes. I still get the 403 Forbidden error when trying to tick either of the boxes though - not going to worry too much at the minute though :)
I'm also using HostGator, if you wanted to know!
Keep up the good work, I'll be sure to recommend this if anyone asks.
adwebtiser:
Thanks a lot for the fix and also for the perfect software =D
It ticks all the boxes for me!
EDIT: Okey it still didnt work for me when I would try and change settings on the Button page on the admin panel because getcode.php would be redirected to getcode.php?lang=en&image=webim&... where as we need it to redirect to getcode.php?lang=en&i=webim&...
Here is what I did to fix it:
In getcode.php on line 48 I replaced: $image = verifyparam("image","/^\w+$/", "webim"); ==> $image = verifyparam("i","/^\w+$/", "webim");
Also I went to view/gen_button.php on line 50 I replaced:
<select name="image" onchange="this.form.submit();"><?php foreach($page['availableImages'] as $k) { echo "<option value=\"".$k."\"".($k == form_value("image") ? " selected=\"selected\"" : "").">".$k."</option>"; } ?></select>
with:
<select name="i" onchange="this.form.submit();"><?php foreach($page['availableImages'] as $k) { echo "<option value=\"".$k."\"".($k == form_value("i") ? " selected=\"selected\"" : "").">".$k."</option>"; } ?></select>
and its working fine for me now, hope this helps everyone else too.
fafamonge:
It works for me. Thanks
m1ndeater:
Works for me, thanks adwebtiser!
enko:
thanks works fine, now the status images are not displayed in the example or published.
i need edit anything in button.php to resolve this?
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version