SMFHacks.com
** Home Forum Index Hacks Products Login Register Search
Welcome, Guest. Please login or register.
May 24, 2012, 12:42:35 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: 0
Guests: 82
Total: 82
+ 
|-+ 
| |-+ 
| | |-+ 
| | | |-+ 
0 Members and 2 Guests are viewing this topic. « previous next »
Pages: [1] Go Down Print
Author Topic: Error - scripturl  (Read 1428 times)
Vincent Volmer
Community Suite Customer
Sr. Member
******
Offline Offline

Posts: 464


SMF 2.0.1


View Profile WWW
« on: July 14, 2009, 11:32:39 am »

Hello,

I have a error message in the log. I renamed the Store.english.php to Store.dutch.php without any change in the language files.

Code:
URL  http://digiscrap.nl/index.php?action=store;cat=1
8: Undefined variable: scripturl
Bestand: /shared/usr/wzen1234567/DOMAIN/www.digiscrap.nl/HTML/Themes/default/languages/Store.dutch.php
Regel: 254

On line 245:
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.';

Code:
URL  http://digiscrap.nl/index.php?action=store
8: Undefined variable: scripturl
Bestand: /shared/usr/wzen1234567/DOMAIN/www.digiscrap.nl/HTML/Themes/default/languages/Store.dutch.php
Regel: 380

On page 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.';

Edit: Also in English language

Thanks,
Vincent
« Last Edit: July 14, 2009, 11:35:46 am by Vincent Volmer » Logged

SMFHacks
Administrator
Hero Member
*****
Offline Offline

Posts: 9678


View Profile
« Reply #1 on: July 14, 2009, 01:00:10 pm »

Try this hotfix for now.
Open up both Store.english.php and Store.dutch.php

And find
Code:
<?php
Add after
Code:
global $scripturl;

And see if that fixes the issue
Logged
Vincent Volmer
Community Suite Customer
Sr. Member
******
Offline Offline

Posts: 464


SMF 2.0.1


View Profile WWW
« Reply #2 on: July 14, 2009, 01:32:51 pm »

Yes, that did it!

Errors are gone....

Thanks
Logged

SMFHacks
Administrator
Hero Member
*****
Offline Offline

Posts: 9678


View Profile
« Reply #3 on: July 14, 2009, 06:29:59 pm »

Fixed added to next update
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 4.703 seconds with 18 queries.