Ask a Question related to Macromedia Contribute General Discussion, Design and Development.
-
eskymo #1
Contribute is re-writing the paths to my files!
I'm training a client to update their site using Contribute and keep getting
error messages caused by the software re-writing the path to certain files in
the code.
Bascially I have all my navigation in an include file which is pulled into
every page of the site using:
<?php require('includes/navigation.php'); ?>
When we are using Contribute and edit the page content - when we click on
Publish to make our changes live we get the following error:
Warning: require(../includes/navigation.php) [function.require]: failed to
open stream: No such file or directory in
/home/bar10000/public_html/barone_music.php on line 33
Warning: require(../includes/navigation.php) [function.require]: failed to
open stream: No such file or directory in
/home/bar10000/public_html/barone_music.php on line 33
Fatal error: require() [function.require]: Failed opening required
'../includes/navigation.php' (include_path='.:/usr/lib/php:/usr/local/lib/php')
in /home/bar10000/public_html/barone_music.php on line 33
when I look at the source code the links now have "../" in front of them.
WHY IS IT DOING THIS???
I am using Studio 8 and the site has been built in Dreamweaver - I created
dreamweaver templates from the pages I created so that I could lock down areas
of the site and have editable regions that the client could using to update the
content. Any help is appreciated.
eskymo Guest
-
Contribute rewriting paths, adding lots of ../
A couple of my users seem to have found a new bug. For no apparent reason, when adding a link to a document on the page, instead of adding the... -
Why does contribute re-write link paths?
Most of the links in my Dreamweaver site are root-relative. Contribute is re-writing these into document-relative links. Many links are in the nav... -
Contribute 3 rewrites PHP include relative paths!
I'm having the same problem, essentially. The DWT file has a path to an include, and in Dreamweaver when you create a new file from the Template, it... -
How can you specify full paths for images in Contribute?
On the "Image Properties" dialog, the "Image file" field does not seem to accept a full path (http://www.etc...). Contribute seems to only allow... -
How can I set absolute paths for images in Contribute 2?
How can I set absolute paths for images in Contribute 2? -
ThinkInk #2
Re: Contribute is re-writing the paths to my files!
I had the several problems with include menu's and hyperlinks, specially when I
made them 'updatable' by users through Contribute (3, 4 and CS3). I never found
settings concerning the way Contribute handles hyperlinks. If you want to use
this practical include solution that users can update through Contribute, you
probably best place the include file in the same folder as the page(s) it gets
included into. I always use the php function include instead of require.
ThinkInk Guest



Reply With Quote

