[SOLVED]CGSimpleSmarty major errors

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
carasmo
Power Poster
Power Poster
Posts: 506
Joined: Thu Feb 08, 2007 6:11 pm
Location: Florida

[SOLVED]CGSimpleSmarty major errors

Post by carasmo »

Brand new install of 1.11.5
and trying to install CGSimpleSmarty (for CGBlog) whether I use repository through admin or XML:

Code: Select all

Warning: require_once(__DIR__/function.module_action.php) [function.require-once]: failed to open stream: No such file or directory in /home/---/public_html/beta/modules/CGSimpleSmarty/CGSimpleSmarty.module.php on line 39

Code: Select all

Fatal error: require_once() [function.require]: Failed opening required '__DIR__/function.module_action.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/---/public_html/beta/modules/CGSimpleSmarty/CGSimpleSmarty.module.php on line 39
Now i see wrong v of php
alaw
Forum Members
Forum Members
Posts: 44
Joined: Fri Apr 23, 2010 2:06 pm

Re: [SOLVED]CGSimpleSmarty major errors

Post by alaw »

Thanks for posting the solution to this--I ran into the same problem yesterday.
carasmo
Power Poster
Power Poster
Posts: 506
Joined: Thu Feb 08, 2007 6:11 pm
Location: Florida

Re: [SOLVED]CGSimpleSmarty major errors

Post by carasmo »

The host I am using is VPS, which may or may not be applicable in your situation. The old site is on CMSMS 1.4 or something really old and since I can't upgrade the entire account, they told me all I have to do is add an .htaccess file to the root of the new domain (sub) and I can use 5.3, I am going to see what the latest php is and try that, I think it's 5.4.

Code: Select all

 In order to use PHP 5.3 version for one of the domains under your account, please go to the document root of the domain in question, create there an .htaccess file, and add there the following line:

AddHandler application/x-httpd-php53 .php
alaw
Forum Members
Forum Members
Posts: 44
Joined: Fri Apr 23, 2010 2:06 pm

Re: [SOLVED]CGSimpleSmarty major errors

Post by alaw »

My hosting account was running php 5.2, but I had the option to run php 5.3 on it instead. After I made the switch, everything worked properly.

Thanks again.

Angela
beattie
Forum Members
Forum Members
Posts: 98
Joined: Sun Dec 21, 2008 11:35 pm

Re: [SOLVED]CGSimpleSmarty major errors

Post by beattie »

Thank you very much for posting this solution, worked great for me.
Post Reply

Return to “Modules/Add-Ons”