News: When asking for support, it helps us and you, if you read the Posting Guidelines

Login  |  Register
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media
Welcome, Guest. Please login or register.
Did you miss your activation email?

January 22, 2020, 05:06:50 PM

Login with username, password and session length

Recent

Members
Stats
  • Total Posts: 189422
  • Total Topics: 20795
  • Online Today: 899
  • Online Ever: 917
  • (January 21, 2020, 09:02:26 AM)
Users Online
Users: 0
Guests: 39
Total: 39

Author Topic: Need Help (Error)  (Read 3465 times)

0 Members and 1 Guest are viewing this topic.

butzie225

  • Guest
Need Help (Error)
« on: October 09, 2008, 03:24:15 PM »
OK... i am trying to make a Module for the first time!!!! (Private module) but when i do the .xml inside the tp-module folder i basically copied TPTestModule.xml and renamed it to MorpheusShop.xml
Code: [Select]
<?xml version="1.0"?>
<tpmodule>
<!-- Module name, use EXACTLY the same as the folder name! -->
<name>MorpheusShop</name>
<!-- The title of the module -->
<title>Morpheus Shop</title>

<!-- Versions -->
<version>1.0</version>
<tpversion>1.0</tpversion>
<smfversion>1.1.4</smfversion>

<!-- what string will trigger the module, format is ?action=tpmod;[subquery]=xxx  -->
<subquery>shop</subquery>

<!-- various information about the module  -->
<author>Cdog5000</author>
<contact>cdog5000@hotmail.com</contact>
<website>morpheusscripting.co.cc</website>

<!-- Illustrative picture -->
<logo></logo>

<!-- Description of the module, BBC allowed -->
<description>
</description>

<!-- Main source file -->
<sourcefile>MorpheusShop.php</sourcefile>

<!-- When installing the module for the first time, run this -->
<installfile>install.php</installfile>
<installfunction></installfunction>
<updatefile></updatefile>
<updatefunction></updatefunction>

<!-- install langauges, separate several with a comma, like: english,german,spanish -->
<languages>english</languages>

<!-- permissions used in this module, format is [permission]|[0/1],[permission]|[0/1]-->
<!-- "0/1" indicates if this permission is a admin permission or not, "1" for true -->
<permissions>tp_testme_admin|1</permissions>

<!-- The function to render a block -->
<blockrender></blockrender>

<!-- Deliver notifications for admin/moderator -->
<adminhook></adminhook>

</tpmodule>

And get this error:
Quote
Language files could not be copied to Languages folder.Please check permissions.

What did i do wrong?
« Last Edit: October 10, 2008, 12:19:04 AM by G6 »

Offline G6Cad

  • Friends
  • *
  • Posts: 12643
    • FamiljeGodis
Re: Need Help (Error)
« Reply #1 on: October 09, 2008, 03:55:09 PM »
The error tell you the problem.

Permission issues, the files it needs to move to the other folder during the install cant be moved cause of permission issues.

Make sure the folders you are copying the files to have the correct settings.

butzie225

  • Guest
Re: Need Help (Error)
« Reply #2 on: October 09, 2008, 04:34:20 PM »
The error tell you the problem.

Permission issues, the files it needs to move to the other folder during the install cant be moved cause of permission issues.

Make sure the folders you are copying the files to have the correct settings.
well.... i have all the files in there!

butzie225

  • Guest
Re: Need Help (Error)
« Reply #3 on: October 09, 2008, 04:36:54 PM »
NVM. Fixed! I named the file's wrong!