Bug #4152

Qubit trunk running on VM won't allow translation of interface.

Added by Anonymous over 8 years ago. Updated over 7 years ago.

Status:InvalidStart date:
Priority:HighDue date:
Assignee:David Juhasz% Done:

0%

Category:-
Target version:Release 1.3
Google Code Legacy ID:atom-2204 Tested version:
Sponsored: Requires documentation:

Description

Google user: jessica%...@gtempaccount.com

To reproduce this error: ========================
1) Run Qubit trunk on VM
2) Try to translate terms in user interface
3) Translate term in box and click save the translation

Resulting error: ================
Error.
See below:
500 | Internal Server Error | InvalidArgumentException
Cannot redirect to an empty URL.
stack trace

at ()
in SF_ROOT_DIR/vendor/symfony/lib/controller/sfWebController.class.php line 180 ... {
if (empty($url)) {
throw new InvalidArgumentException('Cannot redirect to an empty URL.');
}
$url = $this->genUrl($url, true);
at sfWebController->redirect('', 0, 302)
in SF_ROOT_DIR/vendor/symfony/lib/action/sfAction.class.php line 202 ...
at sfAction->redirect('')
in SF_ROOT_DIR/plugins/sfTranslatePlugin/modules/sfTranslatePlugin/actions/translateAction.class.php line 60 ...
at sfTranslatePluginTranslateAction->execute(object('sfWebRequest'))
in SF_ROOT_DIR/vendor/symfony/lib/filter/sfExecutionFilter.class.php line 92 ...
at sfExecutionFilter->executeAction(object('sfTranslatePluginTranslateAction'))
in SF_ROOT_DIR/vendor/symfony/lib/filter/sfExecutionFilter.class.php line 78 ...
at sfExecutionFilter->handleAction(object('sfFilterChain'), object('sfTranslatePluginTranslateAction'))
in SF_ROOT_DIR/vendor/symfony/lib/filter/sfExecutionFilter.class.php line 42 ...
at sfExecutionFilter->execute(object('sfFilterChain'))
in SF_ROOT_DIR/vendor/symfony/lib/filter/sfFilterChain.class.php line 53 ...
at sfFilterChain->execute()
in SF_ROOT_DIR/lib/SiteSettingsFilter.class.php line 46 ...
at siteSettingsFilter->execute(object('sfFilterChain'))
in SF_ROOT_DIR/vendor/symfony/lib/filter/sfFilterChain.class.php line 53 ...
at sfFilterChain->execute()
in SF_ROOT_DIR/vendor/symfony/lib/filter/sfRenderingFilter.class.php line 33 ...
at sfRenderingFilter->execute(object('sfFilterChain'))
in SF_ROOT_DIR/vendor/symfony/lib/filter/sfFilterChain.class.php line 53 ...
at sfFilterChain->execute()
in SF_ROOT_DIR/plugins/sfHistoryPlugin/lib/sfHistoryPluginFilter.class.php line 18 ...
at sfHistoryPluginFilter->execute(object('sfFilterChain'))
in SF_ROOT_DIR/vendor/symfony/lib/filter/sfFilterChain.class.php line 53 ...
at sfFilterChain->execute()
in SF_ROOT_DIR/lib/QubitTransactionFilter.class.php line 40 ...
at QubitTransactionFilter->execute(object('sfFilterChain'))
in SF_ROOT_DIR/vendor/symfony/lib/filter/sfFilterChain.class.php line 53 ...
at sfFilterChain->execute()
in SF_ROOT_DIR/vendor/symfony/lib/controller/sfController.class.php line 238 ...
at sfController->forward('sfTranslatePlugin', 'translate')
in SF_ROOT_DIR/vendor/symfony/lib/controller/sfFrontWebController.class.php line 48 ...
at sfFrontWebController->dispatch()
in SF_ROOT_DIR/vendor/symfony/lib/util/sfContext.class.php line 170 ...
at sfContext->dispatch()
in SF_ROOT_DIR/qubit_dev.php line 13 ...

symfony settings ...
request ...
response ...
user ...
global vars ...

symfony v.1.4.9-DEV - php 5.3.2-1ubuntu4.5
for help resolving this issue, please visit http://www.symfony-project.org/ .
Debug toolbar

1.4.9-DEV
Config config
Log logs
Memory 14080.0 KB
Time 745 ms
SQL queries 71
Close

Expected result: ================
Saved translation and return to user interface

[g] Legacy categories: I18N, Testing

History

#1 Updated by David Juhasz over 8 years ago

  • Status changed from New to Invalid

Fixed problem but updating permissions so Apache user could write to apps/qubit/i18n directory.

sudo chown -R www-data:www-data /var/www/qubit

This is not an application issue and fresh VMs have the correct permissions, marking as Invalid.

#2 Updated by David Juhasz about 8 years ago

[g] New owner: David Juhasz

Also available in: Atom PDF