PDA

View Full Version : No Language Folder/lang-english.php


Sacrifice
05-08-2006, 01:39 AM
I receive the following error when attempting to access my pixelpost site (which I uploaded in ASCII today)

Error:
No language folder exists or the file "lang-english.php" is missing in that folder.
Make sure that you have uploaded all necessary files with the exact same names as mentioned here.

Site: My PP site (http://www.sacrifice.to)

1. The files were uploaded three times in ASCII (just to make sure) :).
2. Yes, the language folder and the lang-english.php file are there (I checked by viewing them online).
3. I can upload pictures to the site, so I know that it is configured correctly.
4. I did not upload any other addons other than what came with PP. I turned off and deleted all the default PP addons and I received the same error msg.
5. Reading another post about this, I changed the lang php file to phps and back.
6. The DB is bring written to without issue.

Additional info:

URL http://www.sacrifice.to/admin/index.php
PHP-version 4.3.11-dev (Pixelpost's min requirement: PHP version: 4.3.0 )
MySQL version 4.0.24-nt-max (Pixelpost's min requirement: MySQL: 3.23.58 )
GD-lib bundled (2.0.28 compatible) with JPEG support
File Uploads to pixelpost site are possible.
Server Software Microsoft-IIS/6.0
EXIF Pixelpost is using exifer v1.5 for EXIF-information.

Paths
Guessed imagepath: c:\hosting\webhost4life\member\sacrifice/images/
Configured Imagepath: ../images/
Image Directory: OK - Can we write to the directory? YES. CHMOD: 0777
Thumbnails Directory: OK - Can we write to the directory? YES. CHMOD: 0777
Language Directory: OK
Addons Directory: OK
Includes Directory: OK
Templates Directory: OK

Does anyone have any ideas?

Thanks,

Sacrifice

Joe[y]
05-08-2006, 10:06 AM
if you can get in your admin are you able to switch languages to french or something?

Sacrifice
05-08-2006, 03:17 PM
There are other languages in the Admin panes and I can switch languages, but when I do I receive the same message (i.e., No... lang-*.php file).

Thanks

Connie
05-08-2006, 05:08 PM
which PP version?

1.5? 1.4.3?

Joe[y]
05-08-2006, 05:44 PM
which PP version?

1.5? 1.4.3?

1.5


i'm stuck for now. will ponder over this with my dinner and get back to this thread later if i come up with anything.

Connie
05-08-2006, 09:23 PM
I just downloaded from Pixelpost.org
I installed it, following the instructions
I installed it as a new install

It is working perfectly, have a look at http://www.bildgier.de/pp/rc_22/

I could change the language, I could open the index.php, I could set addons active etc.

I changed back the english version and then deleted the english language file, I got an error message different from your error message:

$admin_lang_error :
$admin_start_1 "lang-english.php" $admin_start_2

I re-uploaded the english language file and PP worked, I deleted the english admin-language-file and got another error message as you got:

Attention! Take care, that at least the file

admin-lang-english.php

sits in the directory language.

You can find this file in the PixelPost-ZIP-File in the directory language.

Please upload it to your server!

which means our installation package is complete and working

there must be a problem at your server or you uploaded an incomplete version

I cannot see the reason for the misbehavior which you reported

Connie
05-08-2006, 09:39 PM
please check the permissions on the language files

I checked, there is no 404-message when calling the file in the browser,

http://www.sacrifice.to/language/lang-english.php

but I think the permissions are not ok, maybe it is not readable etc.

It is there

please ask your hoster why this file is not included, why this error message is produced

maybe it is something with the configuration of the server, as these ".to"-domains are mostly run by mass-hosters, who often have very special regulations and limitations

Raphael
08-17-2006, 12:07 PM
hi,

After doing a minor change on Index.php, I now get the following message on my main page: www.anglefree.com

"No language folder exists or the file "lang-.php" is missing in that folder.
Make sure that you have uploaded all necessary files with the exact same names as mentioned here."

I dunno what to do. i tried to reload the language directory...but nothing happened. I uploaded a previous version of the Index file, but nothing...if you have an idea, that would be great...

I cannot reach my admin either.

Thanks
Raphael

GeoS
08-17-2006, 11:51 PM
Upload back oryginal index.php then make diff between your version and our (official) and at the end find the bug.

Connie
08-18-2006, 06:27 AM
there are no Index.php!!!!!

filenames are casesensitive! index.php

maybe you uploaded the files not in ASCII format? Check your ftp-programme

I must tell you that problems like yours are no bugs with Pixelpost, it must be a problem of FTP... manually hacking core files... server configuration

Raphael
08-18-2006, 08:22 AM
Thanks.

I found a solution (changed the name of the english file by nothing), then it becomes lang-.php....well...there was probably another solution but it is ok for now.

I was actually just trying to remove the word "photoblog" that appears in photoblogs.org description after the name of the site...I did not succeed.

Cheers
Raphael
www.anglefree.com

Connie
08-18-2006, 01:52 PM
who will ever understand what happens in the wide world of computers and users ???

GeoS
08-18-2006, 02:07 PM
If you want to get back to clear state then reupload fresh Pixelpost files once again. PM me and maybe at evening Ill help you with this removing.

Raphael
08-19-2006, 05:57 AM
I "re"uploaded clean files, so everything's alright now. Thanks

How can I remove the "photoblog" in my site description?

Cheers
Raphael
www.anglefree.com

GeoS
08-19-2006, 12:04 PM
As my power supply in my desktop is burned right now then I can help you until Ill fix it.

GeoS
08-19-2006, 12:07 PM
OK I found solution for your problem.

index.php line 728 and there replace:
<description>$pixelpost_site_title photoblog</description>
with:
<description>$pixelpost_site_title</description>

Raphael
08-21-2006, 08:47 AM
Thanks

rclafton
01-26-2007, 08:25 PM
The problem has reared it head again...

I have just moved my website from one Windows 2k3 server with the same revsions of PHP and MYSQL.... and now I get the dreaded.

No language folder exists or the file "lang-english.php" is missing in that folder

I have spoken to the ISP, who state that there PHP is configured correctly and thats as far as they are willing to go.... so I did some digging and found that the problem was that when index.php was checking for the language files it was looking in C:\windows\system32\ for the files... I mentioned this to the ISP who states that their PHP installation is correct.

http://www.clafton.com/printvars.php shows the PHPINFO() which does indeed match the old server I was hosted on. Weird.

Anyway... I did a slight mod to index.php when it checks for the lanuage files...

// get the language file
if (file_exists($work_path."language/lang-".$cfgrow['langfile'].".php") )
{
if ( !isset($_GET['x'])OR($_GET['x'] != "rss" & $_GET['x'] != "atom"))
require($work_path."language/lang-".$cfgrow['langfile'].".php");
}
else
{
echo '<b>Error:</b><br />No <b>language</b> folder exists or the file <b>$work_path."lang-' .$cfgrow['langfile'] .'.php"</b> is missing in that folder.<br />Make sure that you have uploaded all necessary files with the exact same names as mentioned here.';
exit;
}

The problem went away for the language files.... but now the issues is back for the template files which is the next set of files to be checked...

All my admin pages work fine... I can regenerate thumbnails, edit image data etc etc -but the admin files already have the $work_path within the code...

Is there a QUICK way to tell index.php to look at the $work_path without having to edit every single line that looks at a file?

I am not a PHP person... most of this was down to guessing!

I have a default.htm on the site at the moment - but you can still get to www.clafton.com/index.php (http://www.clafton.com/index.php)calling it directly.

I can set up a FTP for access if anybody can help with this....!

rclafton
02-15-2007, 10:31 PM
BUMP!

Connie
02-15-2007, 11:29 PM
what is BUMP my friend?

what do you mean with that posting?

when I see your problem in a short view, I would go like this:

make a backup
install anew in the new environment
restore data with database backup

the important things are:

have a working Pixelpost installation
add database content to this working installation

good luck

rclafton
02-19-2007, 03:54 PM
BUMP does just that - and it worked - it BUMP's the message to the top again so that it gets seen. You saw it, you replied. So, it worked. ;-)

Thanks for the response, but - already done all that.

Made a backup, installed a new ENV, restored the data. Backup was from a working env - was working for over 12 months. Problem is, that the PP installation fails from the outset - direct from extract from archive.

Problem is that the working directory in the index.php is not checked in the same way as the admin.php. So in a Windows env it looks in the wrong place (or the correct place if we are talking a *nix env).

The PHP installations are the same on each server. MY main post lists what I tried and the problem at the center of this.

My installations are good, they work on the old server. Different versions on PHP (newer on newer server).


what is BUMP my friend?

what do you mean with that posting?

when I see your problem in a short view, I would go like this:

make a backup
install anew in the new environment
restore data with database backup

the important things are:

have a working Pixelpost installation
add database content to this working installation

good luck