Jump to content


Corporate Sponsors


Latest News: (loading..)

- - - - -

My website is down!


6 replies to this topic

#1 zefeena

  • Community Member
  • 185 posts
  • Real Name:Kellie
  • Gender:Female
  • Location:South Yorkshire

Posted 03 May 2011, 17:37

My website is down www.Sewingchest.co.uk
I can't get on to admin either, but i can get on to my cpanel


its been okay all day. I can't get hold of the host now - everyone has gone home i suppose, can anyone tell me if it looks like it may be the server side - i.e they are doing some maintainance or something or if it looks like something as gone wrong that i need to really worry about.

Thank you

#2 i2Paq

  • Community Member
  • 256 posts
  • Real Name:Norman

Posted 03 May 2011, 17:40

Looks like a server /.htaccess issue.

Can you acces it via FTP?

What are your cPanel logs saying?
Norman in 't Veldt

Moderator
osCommerce The Netherlands

#3 zefeena

  • Community Member
  • 185 posts
  • Real Name:Kellie
  • Gender:Female
  • Location:South Yorkshire

Posted 03 May 2011, 17:47

My host as just replied and said the data centre has disable some script (my shop it seems), as it was stalling the server. Only contribution i have added of late was this:

Product quantities_1

Show product quantities on admin Categories / Products listing

Greg Pullman 19 August, 2010
v1.0

OVERVIEW
This contribution displays the quantities of each product in the products listing categories.php of the admin interface. It is a very simple modification to make and means you can see all stock in a category without having to click on each one. If you have lots of products in a category this makes it easy to see at a glance what's getting low.

INSTRUCTIONS

======================
STEP 1: BACK UP /catalog/admin/categories.php

=====================

STEP 2: EDIT /catalog/admin/categories.php



1) Around row 800, find:



<td valign="top"><table border="0" width="100%" cellspacing="0" cellpadding="2">
<tr class="dataTableHeadingRow">
<td class="dataTableHeadingContent"><?php echo TABLE_HEADING_CATEGORIES_PRODUCTS; ?></td>



Immediately after this, add:


<!-- Start Add Quantity & Price mod -->
<td class="dataTableHeadingContent" align="center"><?php echo TABLE_HEADING_QUANTITY; ?></td>
<td class="dataTableHeadingContent" align="center"><?php echo TABLE_HEADING_PRICE; ?></td>
<!-- End Add Quantity & Price mod -->




2) Now go a little bit past:

<?php
$categories_count = 0;

and around row 840, find:


<td class="dataTableContent"><?php echo '<a href="' . tep_href_link(FILENAME_CATEGORIES, tep_get_path($categories['categories_id'])) . '">' . tep_image(DIR_WS_ICONS . 'folder.gif', ICON_FOLDER) . '</a>&nbsp;<b>' . $categories['categories_name'] . '</b>'; ?></td>


Immediately after this, add

<!-- Start Add Quantity & Price mod -->
<td class="dataTableContent" align="center">&nbsp;</td>
<td class="dataTableContent" align="center">&nbsp;</td>
<!-- End Add Quantity & Price mod -->



3) Now go a little bit past:

<?php
}

$products_count = 0;


and around row 870 find:

<td class="dataTableContent"><?php echo '<a href="' . tep_href_link(FILENAME_CATEGORIES, 'cPath=' . $cPath . '&pID=' . $products['products_id'] . '&action=new_product_preview&read=only') . '">' . tep_image(DIR_WS_ICONS . 'preview.gif', ICON_PREVIEW) . '</a>&nbsp;' . $products['products_name']; ?></td>



Immediately after this, add:


<!-- Start Add Quantity & Price mod -->
<td class="dataTableContent" align="center">
<?php echo $products[products_quantity]; ?> </td>
<td class="dataTableContent" align="center">
<?php echo $currencies->format ($products['products_price']); ?> </td>
<!-- End Add Quantity & Price mod -->

========================

STEP 3: UPDATE LANGUAGE FILE

Open /catalog/admin/includes/languages/english/categories.php and add:

define('TABLE_HEADING_QUANTITY', 'Quantity');
define('TABLE_HEADING_PRICE', 'Price');

=======================

Any ideas???

#4 zefeena

  • Community Member
  • 185 posts
  • Real Name:Kellie
  • Gender:Female
  • Location:South Yorkshire

Posted 03 May 2011, 18:12

Can anyone tell me the best way to back up things, so if the cpanel goes down too i can at least recover my website and data. I have a super slow internet 0.5mb at best! thank you

#5 knifeman

  • Community Member
  • 1,537 posts
  • Real Name:Tim
  • Gender:Male

Posted 03 May 2011, 18:19

View Postzefeena, on 03 May 2011, 18:12, said:

Can anyone tell me the best way to back up things, so if the cpanel goes down too i can at least recover my website and data. I have a super slow internet 0.5mb at best! thank you
You can do a home directory backup through cpanel. This is done on the server. Then download after it is complete.

If hacked, it is too late for a backup.

Can your host say what script?

Tim

#6 zefeena

  • Community Member
  • 185 posts
  • Real Name:Kellie
  • Gender:Female
  • Location:South Yorkshire

Posted 03 May 2011, 18:35

Hi,

Thankyou. I'm not sure if my host knows which script, she just asked if i had changed anything recently, and the above contribution is all that i have added 5 days ago and haven't changed anything else for 6 months! The contribution looked simple enough, but apparently the way the pages were loading was using all the resources. Maybe it conflicted with something else in the existing code. who knows.

#7 michalsemen

  • Community Member
  • 7 posts
  • Real Name:Michal Semen
  • Gender:Male

Posted 04 May 2011, 07:32

I think you should consult with your hosting provider in any case they can better guide you the way you should do with.