Jump to content

Srange problem editing homepage??


Guest

Recommended Posts

Hi all i still have this problem that the home page can not be editing in ACP???

i have changed ftp settings for home.inc.php to 777 but it still comes back as old info.

also i had an image on home page which pulled from my images and all worked good untill about month ago ( and nothing was updated or done at all so not something i did)

also is his correct in home.inc.php

<?php

$home['copy'] = '<p><font size=\\\"\\\\"\\\\"3\\\\"\\\\"\\\"></font></p>';

$home['enabled'] = '1';

$home['title'] = 'Welcome to Buskers Of Wallingford ';

?>




as this is what keeps coming up the \\\" when i view source of home page in the feckeditor.



i have tried to re write the source code like this


<p align="center">

<font size="3">

FREE  UK delivery<br>

</font>

<font size="2">

All prices are Inclusive of Vat

</font>

<font face="Verdana," size="2">

<br>

</font>

<img alt src="http://www.buskerswaterford.co.uk/images/uploads/45756700_MASTER_CUTTER'S_CLARET_DECANTER.jpg" width="284" height="331"></p>

<p align="center">

<font size="3">

Secure Payment will be made via Worldpay.com</font></p>

But still nothing.

Have i been hacked some where along the lines?? :(

Link to comment
Share on other sites

<img alt src="http://www.buskerswaterford.co.uk/images/uploads/45756700_MASTER_CUTTER'S_CLARET_DECANTER.jpg" width="284" height="331"></p>

should be

<img src="http://www.buskerswaterford.co.uk/images/uploads/45756700_MASTER_CUTTER'S_CLARET_DECANTER.jpg" width="284" height="331"></p>

if you want an alt text type, should be after the img src, not in the middle of it.

Other than that, I would re-upload the original of home.inc.php and make sure it is set to 777 and re-enter your text.

Link to comment
Share on other sites

When you change file permissions through an ftp client, for example, using your ftp software you change from 644 to 777, after it is done you should always usethe refresh in your ftp program and check again. Then go to store and edit file.

As to all the exttra slashes in fckeditor files, see the pinned post, it is mentioned near the end of the list.

Link to comment
Share on other sites

  • 2 weeks later...

HI Thanks for advice and yes had already done all that how ever it seems that when i set FTP for home.inc.php ( in language/en ) to 777 and tried 755 it lets me show the image i want in the ACP but when i then click update it reverts back to no image space and these back /// \\\ slashes.

also the ftp of the same file is back to 644 on its own????

any idea as i have several other sites with no problems and this seems to have just happened on its own and only affects the front page and no other images??

Im lost here and im sure its so simple? :dizzy:

this is the actual source code i get from acp in editor

<p><font color="#006000"><font face="\&quot;\&quot;\&quot;Verdana,\&quot;\&quot;" size="\&quot;\&quot;\&quot;2\&quot;\&quot;\&quot;"><font size="\&quot;\&quot;\&quot;3\&quot;\&quot;\&quot;">10% discount is included on all of our prices.<br/>

FREE next day UK delivery<br/>

</font></font></font><font color="#006000"><font face="\&quot;\&quot;\&quot;Verdana,\&quot;\&quot;" size="\&quot;\&quot;\&quot;2\&quot;\&quot;\&quot;">All prices are Inclusive of Vat </font></font></p>

<p>&nbsp;<img alt="\&quot;\&quot;/" src="\&quot;http://buskersmoorcroft.co.uk/cart/images/uploads/buskersfrontpagelogo.jpg\&quot;"/></p>

<p><font face="\&quot;\&quot;\&quot;Verdana\&quot;\&quot;\&quot;" color="#006000" size="\&quot;\&quot;\&quot;2\&quot;\&quot;\&quot;">Secure Payment will be made via Worldpay.com</font></p>




also this is the actual file code now from ftp  for home.inc.php very strange??


<?php

$home['copy'] = '<p>&nbsp;</p>

<p><font color=\\\"#006000\\\"><font face=\\\"\\\\&quot;\\\\&quot;\\\\&quot;Verdana,\\\\&quot;\\\\&quot;\\\" size=\\\"\\\\&quot;\\\\&quot;\\\\&quot;2\\\\&quot;\\\\&quot;\\\\&quot;\\\"><font size=\\\"\\\\&quot;\\\\&quot;\\\\&quot;3\\\\&quot;\\\\&quot;\\\\&quot;\\\">10% discount is included on all of our prices.<br/>

FREE next day UK delivery<br/>

</font></font></font><font color=\\\"#006000\\\"><font face=\\\"\\\\&quot;\\\\&quot;\\\\&quot;Verdana,\\\\&quot;\\\\&quot;\\\" size=\\\"\\\\&quot;\\\\&quot;\\\\&quot;2\\\\&quot;\\\\&quot;\\\\&quot;\\\">All prices are Inclusive of Vat </font></font></p>

<p>&nbsp;</p>

<p><font face=\\\"\\\\&quot;\\\\&quot;\\\\&quot;Verdana\\\\&quot;\\\\&quot;\\\\&quot;\\\" color=\\\"#006000\\\" size=\\\"\\\\&quot;\\\\&quot;\\\\&quot;2\\\\&quot;\\\\&quot;\\\\&quot;\\\">Secure Payment will be made via Worldpay.com</font></p>';

$home['enabled'] = '1';

$home['title'] = 'Welcome to Buskers Of Wallingford ';

?>

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...