DragonflyCMS Projects > Storez > [fixed] Error in deleting sub-stores > Community Forums > Phoenix Netology
Forum Index > eCommerce > Storez

[fixed] Error in deleting sub-stores Reply to topic


Sad The error message is:
CMS Warning line 75: On /admin.php?op=Storez While executing query "SELECT parentid FROM cms_cart_stores WHERE stored_id='4'" the following error occured: Unknown column 'stored_id' in 'where clause' In: >/modules/Storez/admin/stores.php on line: 198

The stored_id= change number as I change store to delete.
Sub-stores are empty and there is no images.

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
Dragonfly 9.4.0.0 cvs + Storez 9.6.2


😢 Forget it - I have trouble and have to restore programs. I'm very sorry.

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
Dragonfly 9.4.0.0 cvs + Storez 9.6.2


Actually is an error - will fix later.

DonationsPro for vBulletin, SMF, MyBB, DragonflyCMS

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):


Rolling Eyes I'm glad you say so. I'm struggling and had to restore many programs. Finaly I got back my language in Storez and was very happy

- but when I add the main store and "return to storez" - I got back the english text {Viewcart} etc.. and I can't delete the store I add.
I am stuck.

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
Dragonfly 9.4.0.0 cvs + Storez 9.6.2


hmm, have you added the /themes/ folder to fam.devold-viken.net/



Extract and upload stores.php to:
modules/Storez/admin/stores.php
Attachment: stores.zip
Description
Filename stores.zip
Filesize 2.54 KiB
Downloaded 1 Time(s)
You are not allowed to view/download this attachment

DonationsPro for vBulletin, SMF, MyBB, DragonflyCMS

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):


Smile Thank you v.m. - Delete/add storez now works fine.

I have three sub-domains to www.devold-viken.net. One DF for the famely >fam.d-v.net has no Storez. One DF in english for my sister in USA/NC >art.d-v.net has Storez, and finaly my own DF in norwegian with Storez >hev.d-v.net. >art. and >hev. are for the moment in Maintenance.
All three are running DF/themes/default


Confused I have update the themes folder in >.hev.devold-viken.net but I still have the same situation with {} signs arround english text when I "return to Storez". Else most are now translated. I can't find any { or } signs in the file english.php.

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
Dragonfly 9.4.0.0 cvs + Storez 9.6.2


Among some others these takes no effect:
define('_STOREZ_TEMPLATE_VIEWCART','Vis handlelisten');
define('_STOREZ_TEMPLATE_CHECKOUT','Handlekurv');
define('_STOREZ_TEMPLATE_REGISTER','Registrer/Login?');
but they are replaced with english text in {}

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
Dragonfly 9.4.0.0 cvs + Storez 9.6.2


I know what is happening now - it has been really puzzling. However, with the info about your other sites, I am now able to check your template - it's different to mine.

As mentioned before, I cannot provide a normal release due to unfinished work in progress. Some of that work involves moving all language defines directly to the templates rather than re-defining them within the php code.

The functions.php file I gave you does influence your user_menu.html template so please extract and upload to:
themes/default/template/storez/user_menu.html

All three of those defines will be covered by the template update where they appear as L_(STOREZ_TEMPLATE_VIEWCART) etc.


I apologize for stuffing you around like this but I cannot promise this will be the only issue that may pop up - unfortunately I just don't have the time just yet to complete my unfinished work and provide a full release.
Attachment: user_menu.zip
Description
Filename user_menu.zip
Filesize 685 B
Downloaded 1 Time(s)
You are not allowed to view/download this attachment

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):


Thanks. The html-file works ok.
Very Happy I'm just happy you are able to spend some times with me and take care of all my complains. You do superb support. I am very grateful.
Take care.

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
Dragonfly 9.4.0.0 cvs + Storez 9.6.2


Unfortunately, some of your issues should not be there - thanks for your patience Smile

Found 2 more templates that will be affected.
Attachment: templates.zip
Description
Filename templates.zip
Filesize 1.91 KiB
Downloaded 1 Time(s)
You are not allowed to view/download this attachment

DonationsPro for vBulletin, SMF, MyBB, DragonflyCMS

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):


Smile Works fine - Thanks.
- And (uff,uff) - I still have 3 more: "Coupons", "Read Me" and "Return to Storez" before the page is completed. It should read "Kuponger", "Les Meg" and "Tilbake til Lager". Hard code?
Rolling Eyes Do you have any need for the file norwegian.php when I'm done translate?

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
Dragonfly 9.4.0.0 cvs + Storez 9.6.2


What page are you viewing for those defines?

Yes, I can add your language file to storez - that way, extra defines will be added, even if only in english.

DonationsPro for vBulletin, SMF, MyBB, DragonflyCMS

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):


Sorry - Those defines are in Storez, Administation Menu.

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
Dragonfly 9.4.0.0 cvs + Storez 9.6.2


aah, yes - there could well be instances where it may be hard coded - there are many more than 3.

The new admin is significantly different to the version you have so I will have to fall back to repairing v9.6.1 and making the same adjustments to my CVS.

That way I won't expose you to a much larger number of issues.

DonationsPro for vBulletin, SMF, MyBB, DragonflyCMS

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):

All times are Australia/Adelaide


Jump to: