Welcome Guest, Not a member yet? Register   Sign In
Problema hospedagem Locaweb
#1

ola boa tarde a todos
estou com problemas na minha aplicação apos migrar para hospedagem da Locaweb
quando edito um registro era pra produzir isto! e localhost assim o faz https://santacasabandeirantes.com.br/hos...editar/121
na hospedagem quando salvo o registro acontece isso https://santacasabandeirantes.com.br/hos...editar/121
o que pode estar acontecendo?
Reply
#2

Did you setup your base_url in app/Config/App.php ?
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply
#3

(06-08-2021, 09:00 PM)InsiteFX Wrote: Você configurou seu base_url em app / Config / App.php?

ola obrigado pela interação 

esta assim config.php! 

<? php if (! defined ('BASEPATH')) exit ('Nenhum acesso direto ao script permitido');



/ *

| ------------------------------------------------- -------------------------

| URL do site de base

| ------------------------------------------------- -------------------------

|

| URL para a raiz do CodeIgniter. Normalmente, este será o seu URL base,

| COM uma barra final:

|

| http://example.com/

|

| Se isso não for definido, o CodeIgniter irá adivinhar o protocolo, domínio e

| caminho para sua instalação.

|

* /
$ config ['base_url'] = '/ hospitalar';
Reply
#4

(06-08-2021, 09:00 PM)InsiteFX Wrote: Did you setup your base_url in app/Config/App.php ?

ola bom obrigado pela resposta

meu config esta assim 

<?php  if ( ! defined('BASEPATH')) exit('No direct script access allowed');

/*
|--------------------------------------------------------------------------
| Base Site URL
|--------------------------------------------------------------------------
|
| URL to your CodeIgniter root. Typically this will be your base URL,
| WITH a trailing slash:
|
| http://example.com/
|
| If this is not set then CodeIgniter will guess the protocol, domain and
| path to your installation.
|
*/
$config['base_url'] = '/hospitalar';
Reply
#5

@regiband29, I think you should set your base_url to 'https://santacasabandeirantes.com.br/hospitalar/' instead of only '/hospitalar'
Reply




Theme © iAndrew 2016 - Forum software by © MyBB