Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 577
  • Last Modified:

Contribute 3.11 screws up PHP includes

Hi folks,

Has anyone else noticed that Contribute 3.01 and 3.11 both do something to new pages based on a template which has PHP includes that causes the includes to return as file not found when the page is published?

The really weird thing is that after a user notified me of the problem, I checked out the page in DW and everything appeared fine.  However, when I checked the page in from DW, the includes work.  Contribute is corrupting the include somehow, but I have no idea how.

Has anyone else seen this problem with Contribute and does anyone have a workaround?
0
Jason C. Levine
Asked:
Jason C. Levine
1 Solution
 
Jason C. LevineNo oneAuthor Commented:
For the PAQ:

1) Upgrade to Contribute 4.  This will not be free.

2) Use full server paths in the include/require statements.  Contribute will NOT pick up the site root relative/document relative paths in the Template and modify them when you publish the file.

The more you know...
0
 
RomModCommented:
Question closed - 500 points refunded.

Best regards,
RomMod
Experts Exchange
Community Support Moderator
0

Featured Post

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now