SMFHacks.com
** Home Forum Index Hacks Products Login Register Search
Welcome, Guest. Please login or register.
May 24, 2012, 01:52:11 pm

Login with username, password and session length
Members
Total Members: 10071
Latest: cdavidson012
Stats
Total Posts: 28687
Total Topics: 4977
Online Today: 94
Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Users: 1
Guests: 59
Total: 60
+ 
|-+ 
| |-+ 
| | |-+ 
| | | |-+ 
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Go Down Print
Author Topic: Multiple Language file errors and the BBC editor doesn't work  (Read 3557 times)
~ Phåråoh ~
SMF Gallery Pro Customer
Jr. Member
*****
Offline Offline

Posts: 63



View Profile WWW
« 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 

Code:
$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 

Code:
$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.

Logged

"So let it be written; so let it be done!"
SMFHacks
Administrator
Hero Member
*****
Offline Offline

Posts: 9678


View Profile
« Reply #1 on: August 16, 2009, 06:06:09 pm »

Quick fix for the undefined errors
Open
forum/Themes/default/languages/Store.english.php
Find
Code:
<?php
Add after
Code:
global $scripturl;
Logged
~ Phåråoh ~
SMF Gallery Pro Customer
Jr. Member
*****
Offline Offline

Posts: 63



View Profile WWW
« Reply #2 on: August 16, 2009, 07:29:07 pm »

That took care of the nuisance errors!  Thanks.

Any idea how to approach the issue of the BBC editor not responding?
Logged

"So let it be written; so let it be done!"
SMFHacks
Administrator
Hero Member
*****
Offline Offline

Posts: 9678


View Profile
« Reply #3 on: August 16, 2009, 07:41:55 pm »

Is that on the add/edit item page? Also with SMF 2.0 there are two options for the BBC editor normal and WYCIWYG
Logged
~ Phåråoh ~
SMF Gallery Pro Customer
Jr. Member
*****
Offline Offline

Posts: 63



View Profile WWW
« Reply #4 on: August 16, 2009, 08:55:26 pm »

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.
« Last Edit: August 16, 2009, 09:01:44 pm by ~ Phåråoh ~ » Logged

"So let it be written; so let it be done!"
SMFHacks
Administrator
Hero Member
*****
Offline Offline

Posts: 9678


View Profile
« Reply #5 on: August 16, 2009, 10:07:33 pm »

What browser are you using? If you are using Firefox click on the icons/smileys and check the error log under help menu
Logged
~ Phåråoh ~
SMF Gallery Pro Customer
Jr. Member
*****
Offline Offline

Posts: 63



View Profile WWW
« Reply #6 on: August 16, 2009, 11:08:51 pm »

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!
Logged

"So let it be written; so let it be done!"
SMFHacks
Administrator
Hero Member
*****
Offline Offline

Posts: 9678


View Profile
« Reply #7 on: August 17, 2009, 07:20:48 pm »

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.
Logged
~ Phåråoh ~
SMF Gallery Pro Customer
Jr. Member
*****
Offline Offline

Posts: 63



View Profile WWW
« Reply #8 on: August 18, 2009, 09:20:08 am »

FF v 3.5.2  WYSIWYG works ok in the forum post editing though.
Logged

"So let it be written; so let it be done!"
SMFHacks
Administrator
Hero Member
*****
Offline Offline

Posts: 9678


View Profile
« Reply #9 on: August 22, 2009, 09:01:43 pm »

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
Logged
~ Phåråoh ~
SMF Gallery Pro Customer
Jr. Member
*****
Offline Offline

Posts: 63



View Profile WWW
« Reply #10 on: August 23, 2009, 07:06:50 pm »

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']);

« Last Edit: October 04, 2009, 10:22:45 pm by ~ Phåråoh ~ » Logged

"So let it be written; so let it be done!"
SMFHacks
Administrator
Hero Member
*****
Offline Offline

Posts: 9678


View Profile
« Reply #11 on: August 23, 2009, 07:31:01 pm »

Yes just noticed that as well from another report will get that fix shortly.
Logged
SMFHacks
Administrator
Hero Member
*****
Offline Offline

Posts: 9678


View Profile
« Reply #12 on: August 23, 2009, 07:41:43 pm »

Update posted to fix this issue
Version 1.3.5a
!Missed one bbc description field name change for SMF 2.0
Logged
Pages: [1] Go Up Print 
« previous next »
Jump to:  

Recent
[Today at 08:02:50 am]

[Today at 04:11:41 am]

[May 21, 2012, 08:54:11 am]

[May 20, 2012, 11:06:52 am]

[May 20, 2012, 05:58:11 am]

[May 19, 2012, 06:16:58 pm]

[May 19, 2012, 05:42:37 pm]

[May 18, 2012, 03:08:38 pm]

[May 17, 2012, 06:07:46 pm]

[May 17, 2012, 02:22:07 pm]
Random Picture
Donate to SMFHacks.com
Help Support the SMFHacks.com mod making.
Powered by SMF 1.1.16 | SMF © 2006-2011, Simple Machines LLC
TinyPortal v0.9.7 © Bloc
SMF and SimpleMachines are registered trademarks of Simple Machines. SMFHacks.com is not affiliated with nor endorsed by Simple Machines.
Page created in 0.253 seconds with 20 queries.