Hi,
I am using CI220.
Making my project on Ubuntu Desktop.
Using an Ubuntu server for the web.
On my desktop, PDF libraries loads,
but the same ones does not load on my server.
Files setup.
On desktop :
/var/www/html/CI/CI220_FMT1/application/libraries/fpdf/Tfpdf.php
/var/www/html/CI/CI220_FMT1/application/libraries/fpdf/Pdf_rotate.php
/var/www/html/CI/CI220_FMT1/application/libraries/fpdf/Pdf.php
/var/www/html/CI/CI220_FMT1/application/libraries/fpdf/Mpt.php
Files owner:group and privileges : www-data:www-data -rw-r--r--
On server :
/var/www/html/FMT-test/CI220_FMT1/application/libraries/fpdf/Tfpdf.php
/var/www/html/FMT-test/CI220_FMT1/application/libraries/fpdf/Pdf_rotate.php
/var/www/html/FMT-test/CI220_FMT1/application/libraries/fpdf/Pdf.php
/var/www/html/FMT-test/CI220_FMT1/application/libraries/fpdf/Mpt.php
Files owner:group and privileges : www-data:www-data -rw-rw-r--
Loading the classes in my controller :
$this->load->library(array( 'fpdf/Tfpdf', 'fpdf/Pdf_rotate', 'fpdf/Pdf' , 'fpdf/Mpt' ));
Files classes' names :
Tfpdf.php => class Tfpdf
Pdf_rotate.php => class Pdf_rotate extends Tfpdf
Pdf.php => class Pdf extends Pdf_rotate
Mpt.php => class Mpt extends Pdf
The error is : Unable to load the requested class: tfpdf
Why, does this works on my desktop and not on my server ?
I did not find out anything about classes in config file.
I don't know what to check ?
Can someone help me to troubleshoot this issue ?
Thanks.
Nils
I am using CI220.
Making my project on Ubuntu Desktop.
Using an Ubuntu server for the web.
On my desktop, PDF libraries loads,
but the same ones does not load on my server.
Files setup.
On desktop :
/var/www/html/CI/CI220_FMT1/application/libraries/fpdf/Tfpdf.php
/var/www/html/CI/CI220_FMT1/application/libraries/fpdf/Pdf_rotate.php
/var/www/html/CI/CI220_FMT1/application/libraries/fpdf/Pdf.php
/var/www/html/CI/CI220_FMT1/application/libraries/fpdf/Mpt.php
Files owner:group and privileges : www-data:www-data -rw-r--r--
On server :
/var/www/html/FMT-test/CI220_FMT1/application/libraries/fpdf/Tfpdf.php
/var/www/html/FMT-test/CI220_FMT1/application/libraries/fpdf/Pdf_rotate.php
/var/www/html/FMT-test/CI220_FMT1/application/libraries/fpdf/Pdf.php
/var/www/html/FMT-test/CI220_FMT1/application/libraries/fpdf/Mpt.php
Files owner:group and privileges : www-data:www-data -rw-rw-r--
Loading the classes in my controller :
$this->load->library(array( 'fpdf/Tfpdf', 'fpdf/Pdf_rotate', 'fpdf/Pdf' , 'fpdf/Mpt' ));
Files classes' names :
Tfpdf.php => class Tfpdf
Pdf_rotate.php => class Pdf_rotate extends Tfpdf
Pdf.php => class Pdf extends Pdf_rotate
Mpt.php => class Mpt extends Pdf
The error is : Unable to load the requested class: tfpdf
Why, does this works on my desktop and not on my server ?
I did not find out anything about classes in config file.
I don't know what to check ?
Can someone help me to troubleshoot this issue ?
Thanks.
Nils