rodar um site em localhost

Eu fiz a migração de um site em yy framework para o localhost. alterei através do sublime text2 todas os

endereços www para localhost/, porém o site não roda no wampserver, dá servidor não permitido.

Alguém poderia informar aonde mais preciso alterar para poder rodar em modo local ?

Obrigado.

ninguém ???

Exibe algum erro? Qual versão do Yii?

versão 1.1.16 , windows 7 ultimate, erro; Forbidden You don´t have permission to access on this server

Isso está parecendo permissão na pasta. Tenta colocar a permissão 775 na raiz do projeto.

mas estou com wampserver no windows 7 ultimate, não é Linux.

Copie e cole o erro que dá para eu poder ver oq pode ser.

Mais ainda sim acredito que seja permissão.

eu dei permissão total nas pastas e arquivos do windows, e apaguei todos os .htaccess, agora a pagina fica em branco, sem mensagem .

Vc está em modo de desenvolvimento? Se sim use a barra do Yii para acessar os Logs, ou procure no windows a pasta onde armazena os logs do PHP. Acredito que fique em C:/wampserver/apache2/logs ou algo parecido e poste aqui os últimos do dia.

access.log

127.0.0.1 - - [18/May/2015:13:20:47 -0300] "GET / HTTP/1.1" 200 4675

127.0.0.1 - - [18/May/2015:13:20:49 -0300] "GET /index.php?img=pngFolder HTTP/1.1" 200 850

127.0.0.1 - - [18/May/2015:13:20:49 -0300] "GET /index.php?img=favicon HTTP/1.1" 200 1429

127.0.0.1 - - [18/May/2015:13:20:49 -0300] "GET /index.php?img=gifLogo HTTP/1.1" 200 4549

127.0.0.1 - - [18/May/2015:13:20:49 -0300] "GET /index.php?img=pngWrench HTTP/1.1" 200 741

127.0.0.1 - - [18/May/2015:13:20:49 -0300] "GET /index.php?img=pngPlugin HTTP/1.1" 200 548

127.0.0.1 - - [18/May/2015:13:20:49 -0300] "GET /index.php?img=pngFolderGo HTTP/1.1" 200 694

127.0.0.1 - - [18/May/2015:13:20:50 -0300] "GET /index.php?img=favicon HTTP/1.1" 200 1429

127.0.0.1 - - [18/May/2015:13:20:58 -0300] "GET /passeisisu/ HTTP/1.1" 200 -

127.0.0.1 - - [18/May/2015:13:21:00 -0300] "GET /favicon.ico HTTP/1.1" 404 209

127.0.0.1 - - [18/May/2015:13:21:00 -0300] "GET /favicon.ico HTTP/1.1" 404 209

apache_error.log

[Mon May 18 13:19:08.691263 2015] [core:warn] [pid 3368:tid 252] AH00098: pid file C:/wamp/bin/apache/Apache2.4.4/logs/httpd.pid overwritten – Unclean shutdown of previous Apache run?

[Mon May 18 13:19:12.731670 2015] [mpm_winnt:notice] [pid 3368:tid 252] AH00455: Apache/2.4.4 (Win64) PHP/5.4.12 configured – resuming normal operations

[Mon May 18 13:19:12.731670 2015] [mpm_winnt:notice] [pid 3368:tid 252] AH00456: Server built: Feb 22 2013 22:08:37

[Mon May 18 13:19:12.731670 2015] [core:notice] [pid 3368:tid 252] AH00094: Command line: ‘c:\\wamp\\bin\\apache\\apache2.4.4\\bin\\httpd.exe -d C:/wamp/bin/apache/Apache2.4.4’

[Mon May 18 13:19:12.731670 2015] [mpm_winnt:notice] [pid 3368:tid 252] AH00418: Parent: Created child process 2204

[Mon May 18 13:19:13.574071 2015] [mpm_winnt:notice] [pid 2204:tid 296] AH00354: Child: Starting 150 worker threads.

[Mon May 18 13:21:21.604496 2015] [mpm_winnt:notice] [pid 3368:tid 252] AH00422: Parent: Received shutdown signal – Shutting down the server.

[Mon May 18 13:21:23.632500 2015] [mpm_winnt:notice] [pid 2204:tid 296] AH00364: Child: All worker threads have exited.

[Mon May 18 13:21:23.757300 2015] [mpm_winnt:notice] [pid 3368:tid 252] AH00430: Parent: Child process 2204 exited successfully.

2015-05-18 13:19:12 836 [Note] Plugin ‘FEDERATED’ is disabled.

2015-05-18 13:19:12 836 [Note] InnoDB: The InnoDB memory heap is disabled

2015-05-18 13:19:12 836 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions

2015-05-18 13:19:12 836 [Note] InnoDB: Compressed tables use zlib 1.2.3

2015-05-18 13:19:12 836 [Note] InnoDB: Not using CPU crc32 instructions

2015-05-18 13:19:12 836 [Note] InnoDB: Initializing buffer pool, size = 128.0M

2015-05-18 13:19:12 836 [Note] InnoDB: Completed initialization of buffer pool

2015-05-18 13:19:13 836 [Note] InnoDB: Highest supported file format is Barracuda.

2015-05-18 13:19:13 836 [Note] InnoDB: The log sequence numbers 53226240 and 53226240 in ibdata files do not match the log sequence number 53226250 in the ib_logfiles!

2015-05-18 13:19:13 836 [Note] InnoDB: Database was not shutdown normally!

2015-05-18 13:19:13 836 [Note] InnoDB: Starting crash recovery.

2015-05-18 13:19:13 836 [Note] InnoDB: Reading tablespace information from the .ibd files…

2015-05-18 13:19:18 836 [Note] InnoDB: Restoring possible half-written data pages

2015-05-18 13:19:18 836 [Note] InnoDB: from the doublewrite buffer…

InnoDB: Last MySQL binlog file position 0 3798371, file name mysql-bin.000187

2015-05-18 13:19:19 836 [Note] InnoDB: 128 rollback segment(s) are active.

2015-05-18 13:19:20 836 [Note] InnoDB: Waiting for purge to start

2015-05-18 13:19:20 836 [Note] InnoDB: 5.6.12 started; log sequence number 53226250

2015-05-18 13:19:21 836 [Note] Server hostname (bind-address): ‘*’; port: 3306

2015-05-18 13:19:21 836 [Note] IPv6 is available.

2015-05-18 13:19:21 836 [Note] - ‘::’ resolves to ‘::’;

2015-05-18 13:19:21 836 [Note] Server socket created on IP: ‘::’.

2015-05-18 13:19:22 836 [Note] Event Scheduler: Loaded 0 events

2015-05-18 13:19:22 836 [Note] wampmysqld: ready for connections.

Version: ‘5.6.12-log’ socket: ‘’ port: 3306 MySQL Community Server (GPL)

2015-05-18 13:21:21 836 [Note] wampmysqld: Normal shutdown

mysql.log

2015-05-18 13:21:21 836 [Note] Giving 0 client threads a chance to die gracefully

2015-05-18 13:21:21 836 [Note] Event Scheduler: Purging the queue. 0 events

2015-05-18 13:21:21 836 [Note] Shutting down slave threads

2015-05-18 13:21:21 836 [Note] Forcefully disconnecting 0 remaining clients

2015-05-18 13:21:21 836 [Note] Binlog end

2015-05-18 13:21:21 836 [Note] Shutting down plugin ‘partition’

2015-05-18 13:21:21 836 [Note] Shutting down plugin ‘PERFORMANCE_SCHEMA’

2015-05-18 13:21:21 836 [Note] Shutting down plugin ‘INNODB_SYS_DATAFILES’

2015-05-18 13:21:21 836 [Note] Shutting down plugin ‘INNODB_SYS_TABLESPACES’

2015-05-18 13:21:21 836 [Note] Shutting down plugin ‘INNODB_SYS_FOREIGN_COLS’

2015-05-18 13:21:21 836 [Note] Shutting down plugin ‘INNODB_SYS_FOREIGN’

2015-05-18 13:21:21 836 [Note] Shutting down plugin ‘INNODB_SYS_FIELDS’

2015-05-18 13:21:21 836 [Note] Shutting down plugin ‘INNODB_SYS_COLUMNS’

2015-05-18 13:21:21 836 [Note] Shutting down plugin ‘INNODB_SYS_INDEXES’

2015-05-18 13:21:21 836 [Note] Shutting down plugin ‘INNODB_SYS_TABLESTATS’

2015-05-18 13:21:21 836 [Note] Shutting down plugin ‘INNODB_SYS_TABLES’

2015-05-18 13:21:21 836 [Note] Shutting down plugin ‘INNODB_FT_INDEX_TABLE’

2015-05-18 13:21:21 836 [Note] Shutting down plugin ‘INNODB_FT_INDEX_CACHE’

2015-05-18 13:21:21 836 [Note] Shutting down plugin ‘INNODB_FT_CONFIG’

2015-05-18 13:21:21 836 [Note] Shutting down plugin ‘INNODB_FT_BEING_DELETED’

2015-05-18 13:21:21 836 [Note] Shutting down plugin ‘INNODB_FT_DELETED’

2015-05-18 13:21:21 836 [Note] Shutting down plugin ‘INNODB_FT_DEFAULT_STOPWORD’

2015-05-18 13:21:21 836 [Note] Shutting down plugin ‘INNODB_METRICS’

2015-05-18 13:21:21 836 [Note] Shutting down plugin ‘INNODB_BUFFER_POOL_STATS’

2015-05-18 13:21:21 836 [Note] Shutting down plugin ‘INNODB_BUFFER_PAGE_LRU’

2015-05-18 13:21:21 836 [Note] Shutting down plugin ‘INNODB_BUFFER_PAGE’

2015-05-18 13:21:21 836 [Note] Shutting down plugin ‘INNODB_CMP_PER_INDEX_RESET’

2015-05-18 13:21:21 836 [Note] Shutting down plugin ‘INNODB_CMP_PER_INDEX’

2015-05-18 13:21:21 836 [Note] Shutting down plugin ‘INNODB_CMPMEM_RESET’

2015-05-18 13:21:21 836 [Note] Shutting down plugin ‘INNODB_CMPMEM’

2015-05-18 13:21:21 836 [Note] Shutting down plugin ‘INNODB_CMP_RESET’

2015-05-18 13:21:21 836 [Note] Shutting down plugin ‘INNODB_CMP’

2015-05-18 13:21:21 836 [Note] Shutting down plugin ‘INNODB_LOCK_WAITS’

2015-05-18 13:21:21 836 [Note] Shutting down plugin ‘INNODB_LOCKS’

2015-05-18 13:21:21 836 [Note] Shutting down plugin ‘INNODB_TRX’

2015-05-18 13:21:21 836 [Note] Shutting down plugin ‘InnoDB’

2015-05-18 13:21:21 836 [Note] InnoDB: FTS optimize thread exiting.

2015-05-18 13:21:21 836 [Note] InnoDB: Starting shutdown…

2015-05-18 13:21:22 836 [Note] InnoDB: Shutdown completed; log sequence number 53226260

2015-05-18 13:21:22 836 [Note] Shutting down plugin ‘BLACKHOLE’

2015-05-18 13:21:22 836 [Note] Shutting down plugin ‘ARCHIVE’

2015-05-18 13:21:22 836 [Note] Shutting down plugin ‘MRG_MYISAM’

2015-05-18 13:21:22 836 [Note] Shutting down plugin ‘MyISAM’

2015-05-18 13:21:22 836 [Note] Shutting down plugin ‘MEMORY’

2015-05-18 13:21:22 836 [Note] Shutting down plugin ‘CSV’

2015-05-18 13:21:22 836 [Note] Shutting down plugin ‘sha256_password’

2015-05-18 13:21:22 836 [Note] Shutting down plugin ‘mysql_old_password’

2015-05-18 13:21:22 836 [Note] Shutting down plugin ‘mysql_native_password’

2015-05-18 13:21:22 836 [Note] Shutting down plugin ‘binlog’

2015-05-18 13:21:22 836 [Note] wampmysqld: Shutdown complete

Esses logs não me ajudaram muito. Porém pesquisando pelo ser forbiden, achei uns erros no Stack OverFlow, que podem te ajudar. Segue os links que achei.

http://stackoverflow.com/questions/10600795/wamp-server-error-forbidden-you-dont-have-permission-to-access-phpmyadmin-on

http://stackoverflow.com/questions/8366976/wamp-error-forbidden-you-dont-have-permission-to-access-phpmyadmin-on-this-s

Veja se esses links te ajuda.