Ask a Question related to Macromedia Contribute General Discussion, Design and Development.
-
skeeter1 #1
problem w/ PHP includes
C3 often changes the line:
<?php include 'http://careers.cas.msu.edu/templates/top.php';?>
to
<?phpinclude 'http://careers.cas.msu.edu/templates/top.php';?>
(Note missing space between php and include, which of course then results in a
parse error.)
skeeter1 Guest
-
PHP Includes
Hello, I am installing coppermine photo gallery on my site. I think I am running into problems - I get the following error message after... -
Big Problem with Server Side Includes (SSI)
We're experiencing a major problem with Server Side Includes that are written in ASP.NET / C# code, i.e. <% Response.WriteFile... -
Help w/ Includes & CSS
for some reason after I upgraded from MX 2004 to DreamWeaver 8, my site doesn't doesn't format with the style sheet i used previously in 2004. Also... -
Problem occurs when included file includes anther file.
The directory structure is as follows: / |-- demo.php |-- inc/ |-- inc1.php |-- inc2.php === file demo.php == <?php require 'inc/inc1.php'; -
[PHP] Problem occurs when included file includes anther file.
Thank you for your reply first. Yes I know I could set include_path either in the php.ini or at runtime.But it's a little bit dirty I think.What... -
-
mzanime.com #3
Re: problem w/ PHP includes
Are you sure its Contribute thats doing this? I've never had any issues like that.
Try making your includes like this to see if it helps.
<?php include("/path/to/file.php"); ?>
mzanime.com Guest
-
timminehan #4
Re: problem w/ PHP includes
I am having the same problem. I have trained my users to "edit in external
app." (Text Edit as the include is outside an editable region). This is a bit
of an ask for Contribute level users. Some times the code "breaks" 3 or 4
times and then never again.
It is definitely contribute. It removes all white space within <?php - 5
separate lines of code; and the ?> and turns it all into 1 line.
Help.
timminehan Guest
-
HdotNET #5
Re: problem w/ PHP includes
I'm getting exactly this problem.
My dwt template has all of these combinations of include in it:
<?php include('somefile.php'); ?>
<?php
include('somefile.php');
?>
<?php
include($somefile);
?>
<?php
/*include*/
include($somefile);
/*include*/
?>
None of these are used within editable template areas.
They all lose their whitespace and lines as soon as Contribute publishes an
editted page. Only a template 'update pages' from DW fixes it.
Come on MM, this is kind of a vital feature. If DW can manage it, why can't
Contribute?
HdotNET Guest
-
HdotNET #6
Re: problem w/ PHP includes
I am still having major problems with this and this is a massive pain.
Admittedly I never thought to test, but how come MM have made a product that
is supposedly compatible with DW, yet handles DW templates in a completley
different manner?
If this program can't handle php includes properly, and is essentially
rewriting code that it is not supposed to, then I will quite honestly flame it
from every forum volcano that I can find on the web.
Please someone answer this and help me resolve it so we can expand. I'm not
some script kiddie with a cracked MM studio, I'm fully paid up and getting
rightly miffed. I'm spent my OWN cash and my CLIENT'S on this software.
WHY IS CONTRIBUTE MODIFYING CODE OUTSIDE OF ITS <!--Template DIRECTIVES?
I could have installed any number of open source CMS apps to run this
particular site. I chose Contribute and DW because this particular client would
appreciate the point and click interface. I'm now thinking I'm going to have to
refund their cost for buying their copy of the software that I had recommended.
My reputation is on the line here.
Can someone give an answer?
I need to know the following:
A) is this resolvable, and if so how?
or
B) should I ditch in favour of a real content managment system?
What really eggs me off is this site is for a not for profit organisation that
I really can't ask to swallow the cost of software THAT DOESN'T WORK.
HdotNET Guest
-
HdotNET #7
Re: problem w/ PHP includes
[url]http://www.google.co.uk/search?num=100&hl=en&safe=off&rls=GGGL%2CGGGL%3A20 05-09%2CGGGL%3Aen&q=contribute+problems+php+include&b tnG=Search&meta=[/url]
come on MM... what gives?
HdotNET Guest



Reply With Quote

