유용한 팁
2016.10.26 13:52
조회 수 : 308
php 7에서 작동안함.
zMigration.class.php 72 line
mysql_error()를 mysqli_error() 로 수정
댓글 2
-
-
php 7.x 에서는 mysql은 지원안하고 mysqli만 지원합니다.
코드 중 mysql로 되어 있는 것 mysqli로 수정하면 됩니다.
에러 메시지는 경로가 틀렸다는 것인데, 경로를 잘 맞춰서 해보세요.
xe 디렉토리 때문에 그런 것 같습니다.
마이그레이션 툴을 xe디렉토리에 업로드하지 마시고 웹루트디렉토리에 업로드하세요.
php 7 에서는 아예 Data Migration 이 불가하다는 의미인가요???
아니면 zMigration.class.php 72 line
mysql_error()를 mysqli_error() 로 수정하면 가능하다는 의미인가요???
72번째 줄을 수정했는데~~~
추가로.. 아래와 같은 메시지가 떳습니다. ㅠㅠ
Warning: require_once(./zMigration.class.php): failed to open stream: No such file or directory in /www/symee.godohosting.com/xe/xe_migration/index.php on line 9
Fatal error: require_once(): Failed opening required './zMigration.class.php' (include_path='.:/usr/local/php/lib/php') in /www/symee.godohosting.com/xe/xe_migration/index.php on line 9