SMF Shop
Home
Help
Search
Shop
Login
Register
SMF Shop
»
SMFShop
»
General SMFShop Discussion
»
[SOLVED] Adding New Item Error
Print
Pages: [
1
]
Author
Topic: [SOLVED] Adding New Item Error (Read 2433 times)
Merch
Newbie
Posts: 0
65 credits
View Inventory
Send Money To Merch
Karma: +1/-0
[SOLVED] Adding New Item Error
«
on:
September 10, 2007, 03:31:56 pm »
Once I drag my new item php file into the "Sources/shop/items" folder I get this error when I click Add/Edit/Delete Items....
#
Fatal error: Cannot redeclare class item_displaymessage in /home/tmuch3/public_html/forums/Sources/shop/items/DisplayMessage.php on line 33
But when I take the file out of the directory I can get into the menu to add items...
Logged
inkstains
Full Member
Posts: 195
641 credits
View Inventory
Send Money To inkstains
Karma: +21/-5
Re: Adding New Item Error
«
Reply #1 on:
September 10, 2007, 03:45:35 pm »
basically it's miss-named i believe
either change the name of the file to
displaymessage.php
or edit the file and change this
item_displaymessage
to
item_DisplayMessage
Logged
Merch
Newbie
Posts: 0
65 credits
View Inventory
Send Money To Merch
Karma: +1/-0
Re: Adding New Item Error
«
Reply #2 on:
September 10, 2007, 03:58:55 pm »
Thanks!
Logged
inkstains
Full Member
Posts: 195
641 credits
View Inventory
Send Money To inkstains
Karma: +21/-5
Re: [SOLVED] Adding New Item Error
«
Reply #3 on:
September 10, 2007, 09:06:36 pm »
no prob happens to everyone
Logged
Print
Pages: [
1
]
SMF Shop
»
SMFShop
»
General SMFShop Discussion
»
[SOLVED] Adding New Item Error