Twitter SMFHacks Facebook SMFHacks SMFHacks.com
** Home Forum Index Hacks Products Login Register Search
Welcome, Guest. Please login or register.
May 21, 2013, 05:44:50 pm

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

Posts: 493


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


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


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


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 03:27:16 pm]

[Today at 02:20:35 pm]

[Today at 02:11:10 pm]

[Today at 01:18:58 pm]

[Today at 12:22:02 am]

[Today at 12:20:41 am]

[May 19, 2013, 11:13:02 pm]

[May 19, 2013, 08:18:27 pm]

[May 19, 2013, 07:03:27 am]

[May 16, 2013, 10:13:46 pm]
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.21 seconds with 19 queries.