Author Topic: Installed update and it wiped out my store  (Read 5992 times)

Offline jimsz

Installed update and it wiped out my store
« on: October 26, 2006, 10:36:45 am »
I installed the update for the shop this evening and it destroyed my store.

I received no errors, it installed fine, and the store does not shop up when you select shop.

when I click on the Shop tab what appears is  -  Unable to load the 'main' template.

If Show Inventory is clicked for a user it responds with - Unable to load the 'inventory' template.

My forum is at   http://www.eaglestation.net/forum/index.php

Any suggestions would be appreciated.

I also found out the installation of the update is causing all sorts of errors on the forum, enough so that I turned off the error log.


Since there has been no feedback from anyone I uninstalled & removed the update via the package installer. Anyone have any idea how i proceed next?
« Last Edit: October 27, 2006, 12:37:30 am by jimsz »

Offline Daniel15

Re: Installed update and it wiped out my store
« Reply #1 on: October 27, 2006, 06:39:07 pm »
What errors did you get in your error log? Make sure your shop directory is CHMODded to 0777, and then try installing the update again.

EDIT: I think I discovered the problem. Please try the new update package at http://www.dansoftaustralia.net/downloads/file/24/SMFShop-2.3-Upgrade.html, and tell me how if it works for you ;)

Offline jimsz

Re: Installed update and it wiped out my store
« Reply #2 on: October 27, 2006, 07:59:40 pm »
I installed the update and nothing changed. here are some screen shots

« Last Edit: October 27, 2006, 08:01:32 pm by jimsz »

Offline Daniel15

Re: Installed update and it wiped out my store
« Reply #3 on: October 28, 2006, 12:16:11 am »
It looks like your Shop.english.php file is missing. Please reupload it, and tell me if that fixes the problem.

Offline jimsz

Re: Installed update and it wiped out my store
« Reply #4 on: October 28, 2006, 01:07:51 am »
Nope, no difference. I tried the file from the update package and from a compete install package and even tried permissions.


I turned my error log back on (the errors were generating too quickly so i turned it off)

Here is what it says

8: Undefined index: shop_admin
File: /usr/local/psa/home/vhosts/eaglestation.net/httpdocs/forum/Sources/Subs.php
Line: 2797
« Last Edit: October 28, 2006, 01:23:29 am by jimsz »

Offline Daniel15

Re: Installed update and it wiped out my store
« Reply #5 on: October 28, 2006, 11:21:45 am »
Are you sure the file is in the right location? Shop.english.php should be in Themes/default/languages/. Also, check that there is actual content in the file, and it's not just a 0-byte file.
That definately sounds like a language file problem (shop_admin is one of the language strings)

Offline jimsz

Re: Installed update and it wiped out my store
« Reply #6 on: October 28, 2006, 08:43:46 pm »
I downloaded a new copy of the update and installed the file into the language folder again and this time it worked. The menu's are back but -

I click on Membergroup Functions and receive a can't "load usergroup" template

I click on Add/Edit/Delete Items and I receive

Fatal error: Call to undefined function: outputeditordelete() in /usr/local/psa/home/vhosts/eaglestation.net/httpdocs/forum/Sources/Load.php(1607) : eval()'d code on line 210
« Last Edit: October 28, 2006, 09:33:24 pm by jimsz »

Offline Daniel15

Re: Installed update and it wiped out my store
« Reply #7 on: October 29, 2006, 12:36:41 pm »
Hmmm... That's strange. The new SMFShop version doesn't have an outputEditOrDelete() function anymore. Please try reuploading ShopAdmin.php (in Sources/shop), and then try again
I'm very sorry about these problems, I didn't expect anything this bad to happen :(

Offline jimsz

Re: Installed update and it wiped out my store
« Reply #8 on: October 29, 2006, 02:46:16 pm »
Hi Daniel,

I uploaded the file and it is the same errors.

The error from the log is

8: Undefined index: shop_items_edit
File: /usr/local/psa/home/vhosts/eaglestation.net/httpdocs/forum/Themes/default/ShopAdmin.template.php (eval?)
Line: 208
« Last Edit: October 30, 2006, 11:41:54 pm by jimsz »

Offline jimsz

Re: Installed update and it wiped out my store
« Reply #9 on: October 30, 2006, 11:48:38 pm »
Daniel,

I went through and manually deleted the ShopAdmin.template file and some of the other files we know there was a problem with. I reuploaded them, assigned permissions manually one at a time, etc., and that may have done the trick.