Jump to content
Sign in to follow this  
jonypedrosa

Site de alojamento de ficheiros

Recommended Posts

jonypedrosa

Queria criar um file host para uso pessoal, mas presido do código básico em php

Ja tentei usar o deste tutorial mas dame muito erros

http://net.tutsplus.com/tutorials/php/creating-a-file-hosting-site-with-codeigniter/

( ! ) Deprecated: Assigning the return value of new by reference is deprecated in C:\wamp\www\erros\system\codeigniter\Common.php on line 130

Call Stack

# Time Memory Function Location

1 0.0008 689080 {main}( ) ..\index.php:0

2 0.0021 750720 require_once( ‘C:\wamp\www\erros\system\codeigniter\CodeIgniter.php’ ) ..\index.php:115

( ! ) Deprecated: Assigning the return value of new by reference is deprecated in C:\wamp\www\erros\system\codeigniter\Common.php on line 136

Call Stack

# Time Memory Function Location

1 0.0008 689080 {main}( ) ..\index.php:0

2 0.0021 750720 require_once( ‘C:\wamp\www\erros\system\codeigniter\CodeIgniter.php’ ) ..\index.php:115

A PHP Error was encountered

Severity: 8192

Message: Function set_magic_quotes_runtime() is deprecated

Filename: codeigniter/CodeIgniter.php

Line Number: 60

A PHP Error was encountered

Severity: 8192

Message: Assigning the return value of new by reference is deprecated

Filename: libraries/Loader.php

Line Number: 255

A PHP Error was encountered

Severity: 8192

Message: Assigning the return value of new by reference is deprecated

Filename: database/DB.php

Line Number: 133

Share this post


Link to post
Share on other sites
softklin

Se estás a usar os ficheiros do exemplo, então tens uma versão do CodeIgniter muito antiga (1.7.0). Tenta transferir o CodeIgniter mais recente, e passar para essa nova instalação os controladores, views, e modelos se usares algum.

http://codeigniter.com/

Como tens uma versão muito antiga, é provável que o código que tens atualmente precise de modificações para se ajustar à nova versão.


Nick antigo: softclean | Tens um projeto? | Wiki P@P

Ajuda a comunidade! Se encontrares algo de errado, usa a opção "Denunciar" por baixo de cada post.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site you accept our Terms of Use and Privacy Policy. We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.