[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 579
  • 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

Receive 1:1 tech help

Solve your biggest tech problems alongside global tech experts with 1:1 help.

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