Advanced Search  
Advanced Search


Pages: [1]
Print
Author Topic: Alfresco component and Shape5 templates  (Read 3824 times)
enock
Offline Offline

Posts: 25



« on: April 02, 2009, 08:07:40 PM »

Alfresco (DMS) have a compent to link Joomla to their document management system

I get this error with Shape5 templates - but not with others

Warning: include(templates/edenrock/footer.php) [function.include]: failed to open stream: No such file or directory in C:\wamp\www\templates\edenrock\index.php on line 406

Warning: include() [function.include]: Failed opening 'templates/edenrock/footer.php' for inclusion (include_path='C:\wamp\www\administrator\components\com_alfresco\libraries') in C:\wamp\www\templates\edenrock\index.php on line 406

The error is the same for other template - just the line number changes

C:\wamp\www\templates\hosticity\index.php on line 576
C:\wamp\www\templates\etensity_inner\index.php on line 701
C:\wamp\www\templates\seaofglass\index.php on line 799

As I've already setup edenrock for my site is there a work about?
Logged
jonahh
Shape 5 Administrator
Online Online

Posts: 17068



WWW
« Reply #1 on: April 02, 2009, 09:20:45 PM »

What you can do is look for the below in your index.php file:

Code:
<?php include("templates/seaofglass/footer.php"); ?>

And replace it with:

Code:
<?php include("<?php echo $this->baseurl ?>/templates/seaofglass/footer.php"); ?>

See if this helps
Logged

Jonah
------------
Shape 5 Team

- Need a great host for your website? We highly recommend siteground.com!


- Using Firebug will save you so much time, frustration and forum questions:
http://getfirebug.com/


- Need some custom coding done on your site? Use our Shape 5 Hire a Coder program for free:
http://www.shape5.com/hire_a_coder/listauctions
enock
Offline Offline

Posts: 25



« Reply #2 on: April 02, 2009, 09:31:47 PM »

now get this error on all pages

Warning: include(<?php echo ?>/templates/edenrock/footer.php) [function.include]: failed to open stream: Result too large in C:\wamp\www\templates\edenrock\index.php on line 413

Warning: include() [function.include]: Failed opening '<?php echo ?>/templates/edenrock/footer.php' for inclusion (include_path='.;C:\php5\pear') in C:\wamp\www\templates\edenrock\index.php on line 413
 
PS I've changed the files to the latest version of edenrock so line 406 is now 413
« Last Edit: April 02, 2009, 09:35:36 PM by enock » Logged
jonahh
Shape 5 Administrator
Online Online

Posts: 17068



WWW
« Reply #3 on: April 03, 2009, 03:29:23 PM »

Oops sorry it should be:

Code:
<?php include($this->baseurl"/templates/seaofglass/footer.php"); ?>
Logged

Jonah
------------
Shape 5 Team

- Need a great host for your website? We highly recommend siteground.com!


- Using Firebug will save you so much time, frustration and forum questions:
http://getfirebug.com/


- Need some custom coding done on your site? Use our Shape 5 Hire a Coder program for free:
http://www.shape5.com/hire_a_coder/listauctions
Pages: [1]
Print

Jump to:  


Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Page created in 0.05 seconds with 18 queries.