HTTP ERROR 500 you have any idea how fix such error???? first time on live server and |
index.php
some code from ^^^ any comment? // localhost working, BUT live not MAY SYSTEM LIBRARIES NOT ALL UPLOADED WITH FILEZILLA THAT DID???? if ($_SERVER['SERVER_NAME'] == "localhost") $application_folder = 'F:\htdocs_xampp\CodeIgniter-3.1.9_yyy_com_live\application'; else $application_folder = '/home/lsepolis123/application'; if ($_SERVER['SERVER_NAME'] == "localhost") $system_path = 'F:\htdocs_xampp\CodeIgniter-3.1.9_yyy_com_live\system'; else $system_path = '/home/lsepolis123/system';
subject_model.php // THIS IS THE FILE NAME --- LOCALHOST WORK BUT THE REF IS Subject_model AND AS SAID LOCALHOST WORKING
config.php
if ($_SERVER['SERVER_NAME'] == "localhost") $config['base_url'] = 'http://localhost/repos/CodeIgniter-3.1.9_yyy_com_live/public_html/'; else $config['base_url'] = 'http://www.yyy.com/'; /* |-------------------------------------------------------------------------- | Index File |-------------------------------------------------------------------------- | | Typically this will be your index.php file, unless you've renamed it to | something else. If you are using mod_rewrite to remove the page set this | variable so that it is blank. | */ $config['index_page'] = '';
may is permissions problem... ???
I downloaded Codeigniter3.1.9.zip and extracted in windows and uploaded with filezilla to USA cPanel linux server cent os 6 ...
(07-05-2018, 07:07 AM)Paradinight Wrote:(07-05-2018, 06:42 AM)lsepolis123 Wrote: subject_model.php // THIS IS THE FILE NAME --- LOCALHOST WORK BUT THE REF IS Subject_model AND AS SAID LOCALHOST WORKINGLocalhost is windows? rename subject_model.php to Subject_model.php yes I tested and working Windows 10 Pro - XAMPP you mean rename all models files first cap????
I am getting output now
renamed all model files first cap also /Templates/login.php renamed with lowercase /template any hint why database sql file can Not IMPORTED??? what about #1067 - Invalid default value for 'created_date' ??? locality / regional??? server in USA I am in Europe...
(07-05-2018, 08:25 AM)lsepolis123 Wrote: I am getting output now Is the created_date 0?
(07-05-2018, 01:01 PM)Paradinight Wrote:(07-05-2018, 08:25 AM)lsepolis123 Wrote: I am getting output now NO,... I tried import withOut Data same error may have to remove lines with old database name????
(07-05-2018, 01:11 PM)lsepolis123 Wrote:(07-05-2018, 01:01 PM)Paradinight Wrote:(07-05-2018, 08:25 AM)lsepolis123 Wrote: I am getting output now SQL Code and Mysql Version? |
Welcome Guest, Not a member yet? Register Sign In |