OT: On-Rev issue (non-emergency)

Graham Samuel livfoss at mac.com
Wed Apr 1 15:55:57 CEST 2015


Matthias, you’re a treasure! I did what you said, using the files you kindly put onto dropbox. I assume my account name is just ‘livfoss’ (that’s the unique part of my On-Rev presence). It looks as if things are going OK despite my deep ignorance (as you see I am not even certain about my account name, nor indeed of the hostname to use when looking at databases. I suppose I will learn eventually).

In case you wondered, I’m having to do a Joomla installation, so now I am deep into the next step, which is telling the Joomla installation system that I’ve already created an SQL database for it. That part’s not going so well, but don’t worry, I’m getting help from elsewhere.

Still no messages from official On-Rev support, by the way, and yes, I have checked my Junk folder.

Thanks for all your help.

Graham

> On 31 Mar 2015, at 22:38, Matthias Rebbe <matthias_livecode_150811 at m-r-d.de> wrote:
> 
> Graham,
> 
> the htaccess.txt file might contain the correct stuff, but as long as it is not named .htaccess it will be ignored by the Apache server.
> 
> Can you open it and post the content of that file here?
> 
> Or if you want to use the php.ini for your custom settings and the public_html folder does not contain the php.ini and/or the .htaccess file,
> then you just need to create these 2 files. 
> You can do this very easy.
> 
> 1. Create a php.ini file on your Mac or Windows
> 2. add the line
> magic_quotes_gpc = Off
> to the new php.ini and save it
> 3. upload that file to your public_html folder using ftp
> 4. create a new file named htaccess on your Mac or Windows (yes without the period at the beginning)
> 5. Add the following 5 lines 
> suPHP_ConfigPath /home/YOURACCOUNTNAME/public_html/
> <Files php.ini> 
> order allow,deny 
> deny from all 
> </Files>
> 
> to the new htaccess file and save it
> 6. upload the file htaccess to your public_html folder using ftp
> 7. now rename that file to .htaccess  (yes now with the period)
> If something goes wrong, you can just delete the 2 files again from your server.
> 
> If you are unsure how to edit those files you can downloaded them from here as zip-archive
> https://dl.dropbox.com/s/bkamsdqyx0114fz/index.html <https://dl.dropbox.com/s/bkamsdqyx0114fz/index.html>
> 
> After unpacking just upload them to the public_html folder and rename the htaccess file to .htaccess.
> 
> Regards,
> 
> Matthias
>> Am 31.03.2015 um 21:42 schrieb Graham Samuel <livfoss at mac.com>:
>> 
>> Thanks Matthias, and thanks also to Shawn Beagle who contacted me off list.
>> 
>> I am frankly too scared to follow these instructions: the editor suggests I make a back up before editing anything, and I don’t really know how to do the restore. As a LiveCode person and very much not a server person I have a very strong feeling of not being in Kansas any more. So I guess I will have to wait for On-Rev support to wake up.
>> 
>> My nervousness is not helped by the fact that I don’t seem to have files like php.ini or .htaccess within the files I can see on the server. There is a htaccess.txt file but that belongs to Joomla which is the package telling me to turn off Magic Quotes - so why can’t it do the job itself? Confusion.
>> 
>> Sorry to be a scaredy-cat, but for all I know I could start World War 3 by hitting the wrong part of some file. 
>> 
>> Graham
>> 
>> 
>>> On 31 Mar 2015, at 19:38, Matthias Rebbe <matthias_livecode_150811 at m-r-d.de <mailto:matthias_livecode_150811 at m-r-d.de>> wrote:
>>> 
>>> Graham,
>>> 
>>> you could try to disable it using an .htaccess file which is put into the root folder of your domain.
>>> 
>>> Please add the following line to the .htaccess files
>>> php_flag magic_quotes_gpc Off
>>> 
>>> If this does not work you could use a php.ini file to disable it.
>>> 
>>> See the first example at http://php.net/manual/de/security.magicquotes.disabling.php <http://php.net/manual/de/security.magicquotes.disabling.php><http://php.net/manual/de/security.magicquotes.disabling.php <http://php.net/manual/de/security.magicquotes.disabling.php>>
>>> 
>>> 
>>> But to use a php.ini with custom php settings you will have to modify the .htaccess file in your public_html folder.
>>> 
>>> Please add the following to the .htaccess file in the public_html folder.
>>> 
>>> suPHP_ConfigPath /home/YOURACCOUNTNAME/public_html/
>>> <Files php.ini> 
>>> order allow,deny 
>>> deny from all 
>>> </Files>
>>> 
>>> Please replace YOURACCOUNTNAME in the above line with your account name.
>>> 
>>> This will make sure your custom settings in the php.ini are recognized by the server.
>>> 
>>> If this all does not work i would say you should open an emergency support ticket, as the above described solutions should work on their servers. 
>>> 
>>> HTH
>>> 
>>> Matthias
>>> 
>>> 
>>>> Am 31.03.2015 um 16:34 schrieb Graham Samuel <livfoss at mac.com>:
>>>> 
>>>> Sorry to be OT, but I can’t describe my need for On-Rev support to be an emergency, yet I am completely stuck until I get help and I have not had a squeak out of On-Rev support since asking a question on 28th March; and my attempts to join the forum have not worked so far, as nobody has activated my account.
>>>> 
>>>> Since many on this list have On-Rev accounts, maybe someone can enlighten me. I want to change Magic Quotes GPC to ‘Off’. I need this for an installation process. As there’s nothing relevant that I can see in the cPanel and I have no real idea what this means, I need someone to tell me how to do it or to do it for me.
>>>> 
>>>> If anyone can help, thanks. If not I’ll just wait for the folks at On-Rev to catch up.
>>>> 
>>>> Graham
>>>> _______________________________________________
>>>> use-livecode mailing list
>>>> use-livecode at lists.runrev.com
>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
>>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>>> 
>>> _______________________________________________
>>> use-livecode mailing list
>>> use-livecode at lists.runrev.com <mailto:use-livecode at lists.runrev.com>
>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
>>> http://lists.runrev.com/mailman/listinfo/use-livecode <http://lists.runrev.com/mailman/listinfo/use-livecode>
>> 
>> 
>> _______________________________________________
>> use-livecode mailing list
>> use-livecode at lists.runrev.com <mailto:use-livecode at lists.runrev.com>
>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode <http://lists.runrev.com/mailman/listinfo/use-livecode>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode




More information about the use-livecode mailing list