Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Error report when accessing my shop


Guest

Recommended Posts

Posted

Hoping someone can shine some light - when I logged off last night after uploading my first lot of products - all was working fine - I went in today after adding a line to my application_top.php to allow for multiple quantity orders of one product to be added to cart and when I went to check on things - came up with horrible error messages -

 

I then decided to scrap the application_top.php file that I uploaded and restored the original application_top.php file - with no change.

 

I then decided to re-store my /catalog folder in the hope that this would restore me back to my original state and wipe any changes made - and this is the result.....

 

www.scrapartfusion.com/catalog

 

same error I was coming up with before, unfortunately I didn't check my shop was working before altering my application_top.php file so I don't know if this affected it or not. Shouldn't restoring my original application_top.php file solve the problem if that's what caused it.

 

My admin console is also showing the same error messages.

 

stuck - any help would be appreciated.

 

thanks

 

Maria

Posted

it would have been easier for you to post the error here than putting text to your site, without the link, as most will not go to a site that doesnt have a link.

looking at the errors, you changed things in the admin section of the site, to display the page_parse_time on the site however you did not change the path location of the file. go into admin/configuration/logging and then set those to false, until you can set the path properly.

 

none of the code changes you made yesterday had anything to do with this. you should always check the main catalog if you change things in admin. before adding products.

 

this is the path it is pointing to:

/var/log/www/tep/page_parse_time.log

 

your path where I would put it is:

/home/scrapart/page_parse_time.log which is then out of the public access area

 

an update for you. i changed them for you and there is now no more error.

you do not want to store the database queries, as that file will grow to an astronomical amount. only use it when troubleshooting.

 

now you need to go to the contribution section and download the admin access with levels to prevent people from accessing the admin section of your site.

Posted

A Million thank you's - I will try and absorb your technical answer fully - being 24 hours old to php and oscommerce - still getting a grip on it all.

 

I will update my admin access now.

 

thanks again. :D

Posted

Hi John,

 

hoping you are there again....

 

I went in to start adding more products and I got a message to say that my catalog and images etc., were not writeable -

I went to the properties in catalog and changed them to 777 to make them writeable - went back to have a look at my site and get the horrible errors again - went back again and restored my catalo folder to 755 as it was before I changed it and still getting the errors

 

I tried to understand your fix before but can't quite understand how you made the changes and why I can't write to my files - any idea's.

 

thanks - stuck again.

Posted

what the error meant was the images needs to be 777, not catalog

 

you need to also have pub, downloads and admin/backups set to 777, as well as admin/images/graphs

 

remember, it is the end of the error it is pointing to, ie catalog/images means the images needs to be writeable

 

the documentations shows all this, if you changed any others you may have troubles. all other folders need to be 755

Posted

Hi John, I had changed them, but because I had restored my catalog folder these permissions obviously needed changing again.

 

So I have restored my catalog and made the changes you suggested -

 

1. All necessary files are writeable - this function all working now

2. go into admin/configuration/logging and then set those to false, until you can set the path properly - all logging is now false and database queries are now not storing -

 

However I still have error messages all over my site.

 

Any more ideas??

Posted

when you restored, you reset the paths, and the database storing to true, etc. look at the setting i put in there, the errors are gone now.

 

you need to set pub, downloads, images to 777

admin/images/graphs to 777

admin/backups to 777

Posted

Hi,

 

as per my previous email, all files necessary were writeable - ie.

 

your instructions -

you need to set pub, downloads, images to 777

admin/images/graphs to 777

admin/backups to 777

 

However, errors were still showing - Shop is now restored as per your lastest - 'magic' programming.

 

One more question - is there now anyway to restore my database of images/catagories/products that were there before and now have dissappeared?

 

thanks for all your help -

 

Maria

Posted

if you have your database backed up from last nite when you were making changes, yes. restore the database, but then go in and make the changes i have made in the admin/configuration/logging section where you will see that i turned false store page parse time, set the path for page parse time, enabled display of page parse time, disabled store database queries, etc

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...