Forums / General Questions / Can't log in to admin panel

Can't log in to admin panel

Locked

Views: 1,269

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
9 Aug 2008, 7:24 AM
#1
dan_up35 avatar

dan_up35

New Zenner

Join Date:
Aug 2008
Posts:
4
Plugin Contributions:
0

Can't log in to admin panel

I bought a template from template monster, al ready installed it, and apply the spanish language pack, i started to customize my shop, everything was going ok, till i tryed to log in again, and this is the mistake i got...

Warning: require(includes/languages/spanish.php) [function.require]: failed to open stream: No such file or directory in /home/dadaente/public_html/perfumaniak/tienda/admin/includes/init_includes/init_languages.php on line 31

Fatal error: require() [function.require]: Failed opening required 'includes/languages/spanish.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/dadaente/public_html/perfumaniak/tienda/admin/includes/init_includes/init_languages.php on line 31

Any ideas, please =$!:oops: :cry:

9 Aug 2008, 7:31 AM
#2
website_rob avatar

website_rob

Inactive

Join Date:
Oct 2006
Location:
Alberta, Canada
Posts:
4,572
Plugin Contributions:
0

Re: Can't log in to admin panel

Hi and welcome to the Forum. :smile:

Warning: require(includes/languages/spanish.php) [function.require]: failed to open stream:

That type error usually means the file cannot be found and/or permissions are not correct.

Have you verified "includes/languages/spanish.php" is actually there and has permissions of 644?

The learning is in the doing.

Potent Products

9 Aug 2008, 11:00 AM
#3
dan_up35 avatar

dan_up35

New Zenner

Join Date:
Aug 2008
Posts:
4
Plugin Contributions:
0

Re: Can't log in to admin panel

yep, the folder for spanish is with the right permissions and the spanish.php file to... thank's for your fast reply, i hope you can help me to solve this problem, or anybody else, it's amazing how the community support each other, thank you very much

This are the lines on the spanish.php file

29 // Return date in raw format
30 // $date should be in format mm/dd/yyyy
31 // raw date is in format YYYYMMDD, or DDMMYYYY
32 if (!function_exists('zen_date_raw')) {
33 function zen_date_raw($date, $reverse = false) {
34 if ($reverse) {
35 return substr($date, 0, 2) . substr($date, 3, 2) . substr($date, 6, 4);
36 } else {
37 return substr($date, 6, 4) . substr($date, 3, 2) . substr($date, 0, 2);
38 }
39 }
40 }

Thanks!

12 Aug 2008, 8:05 AM
#4
dan_up35 avatar

dan_up35

New Zenner

Join Date:
Aug 2008
Posts:
4
Plugin Contributions:
0

Re: Can't log in to admin panel

Hey... ahm guys i haven't fix the problem, does any body have and idea? :cry::laugh::blush: