Topic: Arras Footer Message Keeps putting multiple characters in it!

I have found a couple times that a bunch of ///////////////// keep ending up in the footer message! I know I fixed it last time but it seems it has popped back on their again, is it a problem with Arras, or could someone be trying to hack my site (I thinking hacking is unlikely considering it hasn't been promoted much yet)

Thumbs up

Re: Arras Footer Message Keeps putting multiple characters in it!

mcasdorph wrote:

I have found a couple times that a bunch of ///////////////// keep ending up in the footer message! I know I fixed it last time but it seems it has popped back on their again, is it a problem with Arras, or could someone be trying to hack my site (I thinking hacking is unlikely considering it hasn't been promoted much yet)

Ah, I know this problem well.  It comes down to magic quotes.  You will have to modify your php5.ini file to disable them.  Assuming you're using php5, otherwise it will be php.ini.  Do some quick searches online and you'll find plenty of info on how to #1 confirm for a fact that they are enabled and #2 the line to use to disable them.  If you're still having trouble, let me know and I'll send you more of what I did.  I'm just not able to get the exact commands/files I used at this moment.

Check out my movie website built using Arras: http://AfterCredits.com

Re: Arras Footer Message Keeps putting multiple characters in it!

ned4spd8874 wrote:
mcasdorph wrote:

I have found a couple times that a bunch of ///////////////// keep ending up in the footer message! I know I fixed it last time but it seems it has popped back on their again, is it a problem with Arras, or could someone be trying to hack my site (I thinking hacking is unlikely considering it hasn't been promoted much yet)

Ah, I know this problem well.  It comes down to magic quotes.  You will have to modify your php5.ini file to disable them.  Assuming you're using php5, otherwise it will be php.ini.  Do some quick searches online and you'll find plenty of info on how to #1 confirm for a fact that they are enabled and #2 the line to use to disable them.  If you're still having trouble, let me know and I'll send you more of what I did.  I'm just not able to get the exact commands/files I used at this moment.

According to php.net adding this to my php.ini file should disable it correct?:

; Magic quotes
;

; Magic quotes for incoming GET/POST/Cookie data.
magic_quotes_gpc = Off

; Magic quotes for runtime-generated data, e.g. data from SQL, from exec(), etc.
magic_quotes_runtime = Off

; Use Sybase-style magic quotes (escape ' with '' instead of \').
magic_quotes_sybase = Off

Thumbs up

Re: Arras Footer Message Keeps putting multiple characters in it!

This is what I've done.

phpinfo.php:

<?php
phpinfo();
?>

php.ini:

magic_quotes_gpc = Off

php5.ini:

<?php
magic_quotes_gpc = Off
?>

The first one will show you what settings are enabled and disabled.  Just upload it to your main directory and you can browse it in your browser.  The next two are what you will use to actually disable it.  If you are using the older php versions, use the first, if you are using php 5 then use the last one.  I believe that it can take up to 24 hours for the information to be pulled into your hosting server.  That just depends on the type of hosting you have.

Check out my movie website built using Arras: http://AfterCredits.com

Re: Arras Footer Message Keeps putting multiple characters in it!

php info tells me I have PHP 5.3.6

It also tells me that "magic_quotes_gpc" is on, also I dont have a php5.ini in my base directory, only a php.ini and I did put "magic_quotes_gpc = off" and it still shows it as being on, could I create a php5.ini and stick it in the base directory, would that work?

Thumbs up

Re: Arras Footer Message Keeps putting multiple characters in it!

mcasdorph wrote:

php info tells me I have PHP 5.3.6

It also tells me that "magic_quotes_gpc" is on, also I dont have a php5.ini in my base directory, only a php.ini and I did put "magic_quotes_gpc = off" and it still shows it as being on, could I create a php5.ini and stick it in the base directory, would that work?

Yeah, just create one with the code I put earlier.  Like I said, it probably won't take effect until after midnight when your hosting polls that file.

Check out my movie website built using Arras: http://AfterCredits.com

Re: Arras Footer Message Keeps putting multiple characters in it!

ned4spd8874 wrote:
mcasdorph wrote:

php info tells me I have PHP 5.3.6

It also tells me that "magic_quotes_gpc" is on, also I dont have a php5.ini in my base directory, only a php.ini and I did put "magic_quotes_gpc = off" and it still shows it as being on, could I create a php5.ini and stick it in the base directory, would that work?

Yeah, just create one with the code I put earlier.  Like I said, it probably won't take effect until after midnight when your hosting polls that file.

Actually just done that and its now off (instantly), thank you

Thumbs up

Re: Arras Footer Message Keeps putting multiple characters in it!

So I tried the fix I found here and now I'm getting this error where the footer message SHOULD be:

Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 4194478 bytes) in /home/content/10/7855710/html/tastylies/wp-content/themes/arras/footer.php on line 36

I'm at a complete loss.

Here's line 36:
        <?php echo stripslashes(arras_get_option('footer_message')); ?>   

I can't change any options in the theme because I get a similar Allowed Memory Size Exhausted error.  Any ideas?

For reference, the site in question is:
http://www.TastyLies.com

Thanks!

Thumbs up

Re: Arras Footer Message Keeps putting multiple characters in it!

Looks like this is a separate issue.  Do a google search for the memory exhausted errors.  You will have to increase the memory allotment.  You might be able to do so with a simple php.ini or php5.ini file change.  But it depends on your hosting.

Check out my movie website built using Arras: http://AfterCredits.com

Re: Arras Footer Message Keeps putting multiple characters in it!

ned4spd8874 wrote:

Looks like this is a separate issue.  Do a google search for the memory exhausted errors.  You will have to increase the memory allotment.  You might be able to do so with a simple php.ini or php5.ini file change.  But it depends on your hosting.

Awesome, that solved half the problem.  The footer will appear at the bottom, however it still adds in all the "/////////////////////" crap in the links at the bottom and if I try to delete them in the control panel I get an Internal Server Error.  So you got me halfway there!  Must continue on!

Thumbs up