php - Joomla 3 is giving error after changing hosting company -


i have developed new website in joomla 3 , want transfer new hosting , domain. have copied files , directories , created databases. changed configuration file. problem new hosting company runs php 5.2.17 version , removed string in index.php checking php version. after have strange error

warning: require_once(__dir__/includes/defines.php) [function.require-once]: failed open stream: no such file or directory in /usr/.../public_html/index.php on line 28  fatal error: require_once() [function.require]: failed opening required '__dir__/includes/defines.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /usr/.../public_html/index.php on line 28 

how can fix it? in advance. can not use php.ini , changing hosting company big problem.

minimum requirement of php version php 5.3 joomla 3. should upgrade php version otherwise use joomla 2.5

you may other issues also, if use joomla 3 on php 5.2. fix issue need replace __dir__ dirname(__file__)


Comments

Popular posts from this blog

html - How to style widget with post count different than without post count -

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

javascript - storing input from prompt in array and displaying the array -