Click here to Skip to main content
15,891,607 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi guys

I have cloud hosting account and have wordpress website setup under root.

now i created new folder www.site.com/subfolder/ and uploaded micro site which has all pages in .php extension and have their own config.php file

But when i try to open microsite page it shows below error. Dont know from where it add /websites/pe/ on front of my site url ??? if i upload same site under non-cloud hosting and it works fine.

Quote:

Warning: require_once(/websites/pe/site.com/config.php) [function.require-once]: failed to open stream: No such file or directory in /websites/pe/site.com/subfolder/index.php on line 1

Fatal error: require_once() [function.require]: Failed opening required '/websites/pe/site.com/config.php' (include_path='.:/clientdata/php/pear-5-3:/clientdata/php/lib') in /websites/pe/site.com/subfolder/index.php on line 1


Thanks for your help in advance.
Posted

1 solution

It was my scripting issue in .php file for form POST submission. I have removed string value to variable and works fine.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900