• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
HTTP ERROR 500 you have any idea how fix such error???? first time on live server and

#11
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';
Reply

#12
subject_model.php // THIS IS THE FILE NAME --- LOCALHOST WORK BUT THE REF IS Subject_model AND AS SAID LOCALHOST WORKING
Reply

#13
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'] = '';
Reply

#14
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 ...
Reply

#15
(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 WORKING
Localhost is windows? rename subject_model.php to Subject_model.php
Reply

#16
(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 WORKING
Localhost 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????
Reply

#17
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...
Reply

#18
(07-05-2018, 08:25 AM)lsepolis123 Wrote: 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...

Is the created_date 0?
Reply

#19
(07-05-2018, 01:01 PM)Paradinight Wrote:
(07-05-2018, 08:25 AM)lsepolis123 Wrote: 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...

Is the created_date 0?


NO,... I tried import withOut Data same error
may have to remove lines with old database name????
Reply

#20
(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
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...

Is the created_date 0?


NO,... I tried import withOut Data same error
may have to remove lines with old database name????

SQL Code and Mysql Version?
Reply


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.