Opened 7 years ago

Closed 5 years ago

#140 closed defect (worksforme)

Unable to import Originals via 'scripts/import-originals.php'

Reported by: mattrude Owned by: somebody
Milestone: Priority: major
Version: 0.1 Component: General
Keywords: Cc: matt@…, sushkov


We are unable to import originals via the script in the scripts directory. The error were getting is:

PHP Fatal error:  Class 'GP_Route_Main' not found in /var/www/translate.mattrude.com/gp-includes/routes/index.php on line 2
PHP Stack trace:
PHP   1. {main}() /var/www/translate.mattrude.com/scripts/import-originals.php:0
PHP   2. require_once() /var/www/translate.mattrude.com/scripts/import-originals.php:2
PHP   3. require_once() /var/www/translate.mattrude.com/gp-load.php:29
PHP   4. require_once() /var/www/translate.mattrude.com/gp-settings.php:290

Attachments (1)

140.patch (317 bytes) - added by mattrude 7 years ago.
Seems to resolve this problem

Download all attachments as: .zip

Change History (6)

#1 @mattrude
7 years ago

  • Cc matt@… added

7 years ago

Seems to resolve this problem

#2 @mattrude
7 years ago

The above attached patch adds grabs _main.php before updating the GP_Route_Main class.

#3 @sushkov
5 years ago

  • Keywords dev-feedback added
  • Milestone set to 1.0

#4 @sushkov
5 years ago

  • Cc sushkov added

#5 @markoheijnen
5 years ago

  • Keywords dev-feedback removed
  • Milestone 1.0 deleted
  • Resolution set to worksforme
  • Status changed from new to closed

Closing the ticket. Works fine for me. Maybe some code has been changed in the last 2 years that made it work.

Note: See TracTickets for help on using tickets.