Problem adding new UDT

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
uniqu3

Re: Problem adding new UDT

Post by uniqu3 »

Contact your Host.
User avatar
Rolf
Power Poster
Power Poster
Posts: 7825
Joined: Wed Apr 23, 2008 7:53 am
Contact:

Re: Problem adding new UDT

Post by Rolf »

I would love to help you fix this problem, but I really think your first steps should be contact the webhost and check the php errorlog.

Grtz. Rolf
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Image
swarfega
Forum Members
Forum Members
Posts: 174
Joined: Mon Sep 06, 2010 10:51 am

Re: Problem adding new UDT

Post by swarfega »

Thanks guys, Ill submit a ticket now.
swarfega
Forum Members
Forum Members
Posts: 174
Joined: Mon Sep 06, 2010 10:51 am

Re: Problem adding new UDT

Post by swarfega »

Hi, the hoster saw nothing in the error log showing anything that cause this problem.

So I would be grateful for further assistance please.
swarfega
Forum Members
Forum Members
Posts: 174
Joined: Mon Sep 06, 2010 10:51 am

Re: Problem adding new UDT

Post by swarfega »

Anyone please?
User avatar
Rolf
Power Poster
Power Poster
Posts: 7825
Joined: Wed Apr 23, 2008 7:53 am
Contact:

Re: Problem adding new UDT

Post by Rolf »

Put a copy of your system information in here perhaps it might lead to something.
And try to set debug true in config.php and save an udt. Any errors...?
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Image
swarfega
Forum Members
Forum Members
Posts: 174
Joined: Mon Sep 06, 2010 10:51 am

Re: Problem adding new UDT

Post by swarfega »

System information: http://pastebin.com/WtVxPxGD
Trying to add a new udt: http://pastebin.com/WE51Yxqr

Then after that i get that 403:

Forbidden

You don't have permission to access /cms/admin/adduserplugin.php on this server.
swarfega
Forum Members
Forum Members
Posts: 174
Joined: Mon Sep 06, 2010 10:51 am

Re: Problem adding new UDT

Post by swarfega »

Hi guys, I hope everyone had a good Christmas.

I tried contacting the hoster support and all they said was that a lot of file permissions were wrong but otherwise its down to you guys to help me.

Its a minor problem but I would like to fix it none-the-less.
User avatar
Rolf
Power Poster
Power Poster
Posts: 7825
Joined: Wed Apr 23, 2008 7:53 am
Contact:

Re: Problem adding new UDT

Post by Rolf »

You might have problems with third party modules. You have A LOT of them installed. Perhaps there is a conflict somewhere.
Make full backup of the website including database and start deinstalling old/redundant/not-used modules...
I marked some possible conflicts or old modules that I know of.
CGCalendar 1.8.3
CGSimpleSmarty 1.4.10
CGGoogleMaps 2.2.5
CGFeedMaker 1.0.14
JQueryTools 1.0.10
CGContentUtils 1.2.1
CGBlog 1.7.6
Blogs 0.3.3.1

HitCounter 1.1
VisitorStats 0.2.2
Statistics 1.1.3

SiteMapMadeSimple 1.2.5
FormBuilder 0.7.1
NMS 2.3.5
GoogleCalendar 0.1.1
Guestbook 1.3.3.1
Captcha 0.4.5
Smileys 0.2.0
Thumbnails 0.1.1
NeoGallery 0.1.1
Album 1.10-beta2

FrontEndUsers 1.16.2
Publications 0.0.1
EventsListing 1.4
SelfRegistration 1.6.13
CGFeedback 1.5.4
CGTiny 1.0.2
DownloadManager 1.5.2
JavaScript 1.0.2
ModuleXtender 1.10.5
FileBackup 0.5
Sendeplan 1.2
Comments 1.9.2
Calendar 0.8.2
DownCnt 2.0.0
LinkMgr 1.5.1
Likes 0.9
Gallery 1.4.4
Twitter 1.10
IE6Warning 1.03
ShopMadeSimple 0.3.7
I18n 0.1.2
Attach 0.7.2
jQuery 1.1.3
TruetypeText 2.1.1
GoogleMaps 0.2.0
Snippets 0.4
TNMS 1.1.7
ScriptDeploy 0.8.1
CMSForms 0.1.4
Tiny 0.0.1
CMSakismet 1
JQueryTools 1.0.10
SFacebook 0.1
SimpleGoogleMap 1.1
XMLMadeSimple 0.0.6
simpletagging 0.3.1
SimpleSlider 0.3
MovedPages 0.7
linkmanager 0.3
ContentCache 1.2
MleCMS 1.10.1
Showtime 2.0.4
CompanyDirectory 1.10.8
Banners 2.5.1
MultiDomains 1.5.1
RateThis 1.0
PDFGenerator 0.1
Archiver 0.2.4
GBFilePicker 1.3
ListIt2 1.0.3
ListIt2 1.0.3

GAMadeSimple 1.1
TreeManager 0.6.0
Forum 0.9.4
FormBrowser 0.4
AJAXStarRatingBar 0.9.2
CMSPrinting 1.0
MicroTiny 1.1.1
SiteUtilities 0.1
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Image
swarfega
Forum Members
Forum Members
Posts: 174
Joined: Mon Sep 06, 2010 10:51 am

Re: Problem adding new UDT

Post by swarfega »

Thank you, will try that and report back.
swarfega
Forum Members
Forum Members
Posts: 174
Joined: Mon Sep 06, 2010 10:51 am

Re: Problem adding new UDT

Post by swarfega »

Ok I have removed the following:

CGCalendar 1.8.3
CGGoogleMaps 2.2.5
CGBlog 1.7.6
Blogs 0.3.3.1
NeoGallery 0.1.1
Calendar 0.8.2
GoogleMaps 0.2.0
linkmanager 0.3
ListIt2 1.0.3

I still get the forbidden message. I didnt remove all the suggested ones as some are used.
User avatar
Rolf
Power Poster
Power Poster
Posts: 7825
Joined: Wed Apr 23, 2008 7:53 am
Contact:

Re: Problem adding new UDT

Post by Rolf »

Well I really haven't got a clue what to do next to solve this... I am out if ideas here...
A work-around could be to create a plugin file and put it in the /plugins/ folder on the webserver:

Name: function.yourudtname.php

Code: Select all

<?php
function smarty_cms_function_yourudtname($params, &$smarty) {

\\ Add your UDT code here \\

}
?>
You can call it like {yourudtname}

grtz. Rolf
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Image
swarfega
Forum Members
Forum Members
Posts: 174
Joined: Mon Sep 06, 2010 10:51 am

Re: Problem adding new UDT

Post by swarfega »

Tried your suggestion but it errored the page that lists the tags.
User avatar
Rolf
Power Poster
Power Poster
Posts: 7825
Joined: Wed Apr 23, 2008 7:53 am
Contact:

Re: Problem adding new UDT

Post by Rolf »

function.yourudtname.php

Code: Select all

<?php
function smarty_cms_function_yourudtname($params, &$smarty) {

echo "rolf";

}
?>
works for me...
Note: you have to change the name "yourudtname" twice!!

Rolf
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Image
swarfega
Forum Members
Forum Members
Posts: 174
Joined: Mon Sep 06, 2010 10:51 am

Re: Problem adding new UDT

Post by swarfega »

Unfortunately Im still having problems not being able to add UDTs, is there anyone else that might have new ideas?
Post Reply

Return to “CMSMS Core”