TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

May 17, 2024, 05:45:35 AM

Login with username, password and session length
Members
  • Total Members: 3,886
  • Latest: Grendor
Stats
  • Total Posts: 195,189
  • Total Topics: 21,220
  • Online today: 59
  • Online ever: 3,540 (September 03, 2022, 01:38:54 AM)
Users Online
  • Users: 1
  • Guests: 49
  • Total: 50
  • @rjen

Need Help (Error)

Started by butzie225, October 09, 2008, 10:24:15 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

butzie225

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
<?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?

G6Cad

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

Quote from: G6 on October 09, 2008, 10: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.
well.... i have all the files in there!

butzie225

NVM. Fixed! I named the file's wrong!