Smarty Forum Index Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon.

Fatal error: require_once() [function.require]

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> Installation and Setup
View previous topic :: View next topic  
Author Message
ratneshswarnkar
Smarty Rookie


Joined: 09 Dec 2011
Posts: 6

PostPosted: Fri Dec 09, 2011 6:11 am    Post subject: Fatal error: require_once() [function.require] Reply with quote

Hi Everybody,

I have upload my smarty website in FTP server. But i am run my website show that error.


Fatal error: require_once() [function.require]: Failed opening required '../main.php' (include_path='.;./includes;./pear') in C:\Inetpub\vhosts\kormanmd.perfectyourself.net\httpdocs\index.php on line 6


What is this .And please help and suggest me .How can resolve this error.It is very urgent.

Please Help!!!!!!!!!!!!!!!!!!!!!!!!1
Back to top
View user's profile Send private message
douglassdavis
Smarty Junkie


Joined: 21 Jan 2008
Posts: 541

PostPosted: Fri Dec 09, 2011 6:36 am    Post subject: Re: Fatal error: require_once() [function.require] Reply with quote

ratneshswarnkar wrote:
Hi Everybody,

I have upload my smarty website in FTP server. But i am run my website show that error.


Fatal error: require_once() [function.require]: Failed opening required '../main.php' (include_path='.;./includes;./pear') in C:\Inetpub\vhosts\kormanmd.perfectyourself.net\httpdocs\index.php on line 6


What is this .And please help and suggest me .How can resolve this error.It is very urgent.

Please Help!!!!!!!!!!!!!!!!!!!!!!!!1


This error doesn't have anything to do with smarty. Like the error indicates, either main.php is missing or the permissions are wrong.
Back to top
View user's profile Send private message
ratneshswarnkar
Smarty Rookie


Joined: 09 Dec 2011
Posts: 6

PostPosted: Fri Dec 09, 2011 6:42 am    Post subject: Fatal error: require_once() [function.require] Reply with quote

Thanks my friend
But
I am not change php.ini file so this error is generate php.ini i am wright..........


Last edited by ratneshswarnkar on Fri Dec 09, 2011 7:00 am; edited 2 times in total
Back to top
View user's profile Send private message
ratneshswarnkar
Smarty Rookie


Joined: 09 Dec 2011
Posts: 6

PostPosted: Fri Dec 09, 2011 6:46 am    Post subject: Reply with quote

what is this ?

include_path='.;./includes;./pear'
where is code location....?
Back to top
View user's profile Send private message
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> Installation and Setup All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP