SMFHacks.com
SMF Store => Support => Topic started by: CWVRV on August 16, 2009, 05:57:55 pm
-
Store v1.3.4 on SMF v 2.0 RC1.2
First the BBC editor just doesn't respond. I click on the icons and nothing happens.
I don't know if these errors correspond with them, but I doubt it as they are generated by store vistiors and, my error log is constantly swamped with them...
They all indicate problems in the languages/Store.english.php file:
Error 1
Type of error: Undefined
http://www.classicwinnebagos.com/forum/index.php?action=store
8: Undefined variable: scripturl
File: public_html/forum/Themes/default/languages/Store.english.php
Line: 380
$txt['store_err_free_message'] = 'Free Order has been added for that user. To view the free order visit the <a href="' . $scripturl . '?action=store;sa=trans">transactions</a> page.';
Error 2 (tons of these!)
Type of error: Undefined
http://www.classicwinnebagos.com/forum/index.php?action=store
8: Undefined variable: scripturl
File: /forum/Themes/default/languages/Store.english.php
Line: 254
$txt['store_txt_contact_sent2'] = 'Your message has been sent to the store owner. Click <a href="' . $scripturl . '?action=store;sa=myorders">here</a> to return to your MyOrders page.';
Any direction on this would be greatly appreciated. I'm flooded with these errors.
-
Quick fix for the undefined errors
Open
forum/Themes/default/languages/Store.english.php
Find
<?php
Add after
global $scripturl;
-
That took care of the nuisance errors! Thanks.
Any idea how to approach the issue of the BBC editor not responding?
-
Is that on the add/edit item page? Also with SMF 2.0 there are two options for the BBC editor normal and WYCIWYG
-
Correct, the add/edit item page.
I assume it's the WYSIWG. It has all the text, actions and smileys icons and I have the 'disable WYSIWYG" option unchecked.
-
What browser are you using? If you are using Firefox click on the icons/smileys and check the error log under help menu
-
OMG!
I use Avant. I recently uploaded FireFox again so I could view the site as the many members who use it do and noticed there are some parculiar visual differences between them.
Here's the OMG!: I've always used Avant and everything looks fine, but when I uploaded FireFox, that's when the WYSYWIG stopped working in Avant. I opened the add/edit item page with FireFox... and works!
Personally, I like Avant better. What the heck do I do? I don't want to have to have FF too just to do my editing. And, of course, this very same thing happens with the Classified Ads & Auctions WYSIWYG editor too). Should I just dump FireFox or is there a fix?
Thanks!
-
What version of Firefox do you use? I use firefox as well and it works ok for me. It could be a bug with SMF then I would have to that reported to the SMF team.
-
FF v 3.5.2 WYSIWYG works ok in the forum post editing though.
-
Figured out this issue took a couple hours. Seems it is a bug with SMF having a field named description fix for 1.3.5 issue affected IE browsers
-
Thank you for taking such a great amount of time to address these issues, it is very much appreciated.
I'll be glad to not to get those emails and all those errors! I'll know the next time something gets ordered.
So far, I do know that the BBC editing issue is fixed!
But... big problem: once you edit anything... anything, the entire existing description is erased and no edits can be saved. Everything is wiped out.
Here's the corresponding error:
Type of error: Undefined
http://www.classicwinnebagos.com/forum/index.php?action=store;sa=edititem2
8: Undefined index: description
File: /XXXXX/XXXXXX/public_html/forum/Sources/Store2.php
Line: 800
Line 800:
$description = addslashes($_REQUEST['description']);
-
Yes just noticed that as well from another report will get that fix shortly.
-
Update posted to fix this issue
Version 1.3.5a
!Missed one bbc description field name change for SMF 2.0