Page 2 of 3

Re: Problem adding new UDT

Posted: Thu Dec 22, 2011 3:59 pm
by uniqu3
Contact your Host.

Re: Problem adding new UDT

Posted: Thu Dec 22, 2011 8:24 pm
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

Re: Problem adding new UDT

Posted: Thu Dec 22, 2011 8:57 pm
by swarfega
Thanks guys, Ill submit a ticket now.

Re: Problem adding new UDT

Posted: Fri Dec 23, 2011 9:42 am
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.

Re: Problem adding new UDT

Posted: Fri Dec 23, 2011 9:10 pm
by swarfega
Anyone please?

Re: Problem adding new UDT

Posted: Fri Dec 23, 2011 9:39 pm
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...?

Re: Problem adding new UDT

Posted: Fri Dec 23, 2011 10:59 pm
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.

Re: Problem adding new UDT

Posted: Fri Dec 30, 2011 10:23 pm
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.

Re: Problem adding new UDT

Posted: Sat Dec 31, 2011 12:09 pm
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

Re: Problem adding new UDT

Posted: Sat Dec 31, 2011 1:49 pm
by swarfega
Thank you, will try that and report back.

Re: Problem adding new UDT

Posted: Wed Jan 04, 2012 11:29 am
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.

Re: Problem adding new UDT

Posted: Wed Jan 04, 2012 2:36 pm
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

Re: Problem adding new UDT

Posted: Wed Jan 04, 2012 5:46 pm
by swarfega
Tried your suggestion but it errored the page that lists the tags.

Re: Problem adding new UDT

Posted: Wed Jan 04, 2012 6:34 pm
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

Re: Problem adding new UDT

Posted: Mon Feb 13, 2012 10:34 pm
by swarfega
Unfortunately Im still having problems not being able to add UDTs, is there anyone else that might have new ideas?