PDA

View Full Version : Themes Error


sweeny_here
07-04-09, 09:03 AM
I've recently installed dotProject v 2.1.2 and very happy with it until I installed theme WPS - Sober. I did not rename the WPS - Sober folder correctly before dropping it into the dotProject styles folder. This has resulted in a system error which is preventing users from logging in. The error message output is here -


*Warning: require(/opt/lampp/htdocs/dotproject/style/wps_sober/login.php)
[function.require]: failed to open stream: No such file or directory
in /opt/lampp/htdocs/dotproject/index.php on line 166

Fatal error: require() [function.require]: Failed opening required
'/opt/lampp/htdocs/dotproject/style/wps_sober/login.php'
(include_path='.:/opt/lampp/lib/php') in
/opt/lampp/htdocs/dotproject/index.php on line 166*

Is there a way of resetting the dotProject system back to the default settings, thereby allowing users to log back in?

Karen
07-04-09, 09:27 AM
The only way I know of doing it is using phpMyAdmin or something similar, going into the config table and changing the row host_style back to read default

You can do it via the MySQL command line as well but I can't for the life of me ever remember the syntax :)

sweeny_here
08-04-09, 02:51 AM
Thank you for your reply. I ran a SQL query based on your recommendation, but the value for "host_style" is already set to "default" as seen here -

SELECT *
FROM `dotproject`.`config`
WHERE (
`config_id` LIKE '%host_style%'
OR `config_name` LIKE '%host_style%'
OR `config_value` LIKE '%host_style%'
OR `config_group` LIKE '%host_style%'
OR `config_type` LIKE '%host_style%'

Returing from the dotProject Config table -

config_id config_name config_value config_group config_type
50 host_style default <no value> text


Is there anything else I could consider?

sweeny_here
08-04-09, 03:16 AM
I went back into myPHPAdmin and did another search, but this time used keyword "style" which returned two tables, one of which was mentioned in the earlier posting. The second table "user_preferences" had the culprit value of "wps_sober" set for "pref_value". I set this to "default", closed all browser tabs, and clearing the browser cache and voilą, able to log back into the fantastic dotProject.


SELECT *
FROM `dotproject`.`user_preferences`
WHERE (
`pref_user` LIKE '%style%'
OR `pref_name` LIKE '%style%'
OR `pref_value` LIKE '%style%'
)
LIMIT 0 , 30

Returned for User Preferences table

pref_user pref_name pref_value
0 UISTYLE wps_sober

Thank you for the help!

vibarco
09-06-09, 07:30 AM
Hi all,
who knows how to install wps themes? No way, it gives me and error always. Who has installed these themes successfully?

Regards,
Vince.

vibarco
10-06-09, 06:09 AM
No one has succesfully installed this themes? http://www.w8.se/2006/04/25/dotproject/ on v2.1.2

Best,
Vince.