Twitter SMFHacks Facebook SMFHacks SMFHacks.com
** Home Forum Index Hacks Products Login Register Search
Welcome, Guest. Please login or register.
June 18, 2013, 09:59:25 pm

Login with username, password and session length
Members
Total Members: 10807
Latest: GoldDigger1950
Stats
Total Posts: 32558
Total Topics: 5507
Online Today: 95
Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Users: 1
Guests: 49
Total: 50
+ 
|-+ 
| |-+ 
| | |-+ 
| | | |-+ 
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Go Down Print
Author Topic: Error - scripturl  (Read 1586 times)
Vincent Volmer
Community Suite Customer
Sr. Member
******
Offline Offline

Posts: 496


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: 11051


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: 496


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: 11051


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 05:22:14 pm]

[Today at 07:27:33 am]

[Today at 06:10:04 am]

[June 17, 2013, 12:27:50 pm]

[June 16, 2013, 08:17:21 pm]

[June 16, 2013, 07:29:04 am]

[June 15, 2013, 08:34:38 pm]

[June 14, 2013, 10:28:18 pm]

[June 13, 2013, 11:00:52 pm]

[June 12, 2013, 03:37:47 am]
Random Picture
Donate to SMFHacks.com
Help Support the SMFHacks.com mod making.
Powered by SMF 1.1.18 | SMF © 2013, Simple Machines
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 1.588 seconds with 20 queries.