OSCOMMERCE SUPPORT CALL 702-453-3332

 

Help - Search - Members - Calendar
Full Version: Warning: main(includes/languages/svenska/index.php)
osCommerce Community Support Forums > osCommerce Online Merchant v2.x > Contributions / Add-Ons > Languages and Zones
stereodee
hello

installed the swedish language pack but i've bumped into a big problem.

the swedish flag comes up in my store but when i klick it this message shows:

Warning: main(includes/languages/svenska/index.php): failed to open stream: No such file or directory in /hsphere/local/home/slimjim/karen.peterlundgren.se/catalog/index.php on line 33 Fatal error: main(): Failed opening required 'includes/languages/svenska/index.php' (include_path='.:/hsphere/shared/apache/libexec/php4ext/php/') in /hsphere/local/home/slimjim/karen.peterlundgren.se/catalog/index.php on line 33


same problem happens when i change to swedish in the pulldown menu in the admin frontpage:

Warning: main(includes/languages/svenska.php): failed to open stream: No such file or directory in /hsphere/local/home/slimjim/karen.peterlundgren.se/catalog/admin/includes/application_top.php on line 130 Fatal error: main(): Failed opening required 'includes/languages/svenska.php' (include_path='.:/hsphere/shared/apache/libexec/php4ext/php/') in /hsphere/local/home/slimjim/karen.peterlundgren.se/catalog/admin/includes/application_top.php on line 130


i've seen people asking about this problem before but haven't really gotten any answers.
please help
FWR Media
Well FTP into your site and tell us if ..

The file ..

includes/languages/svenska.php exists

The folder ..

includes/languages/svenska/ exists
stereodee
yes. both the file and the folder exists. strange...
FWR Media
Not really, on second look those files are in catalog/includes not /includes

So your configure.php's do not have the correct path perhaps.
OSClooking
Hi,

I have same problem as above. Is there any solution for this?

I'm facing same error about 'something is wrong on line 33 in index.php...' file.

I have done a fresh OSC installation from Fantastico. 3 languages were included. As soon I have uploaded Swedish language per instruction, this happened.

Please assist.

Thanks.
gnimel
to install the language all you need to do is to copy the folders to your admin/includes/languages/ and main folder catalog/includes/languages/ together with a particular yourlanguage.php file then add it in the administration panel under localization->languages

smile.gif
KiAnKo1975
QUOTE (OSClooking @ May 7 2007, 05:56 AM) *
Hi,

I have same problem as above. Is there any solution for this?

I'm facing same error about 'something is wrong on line 33 in index.php...' file.

I have done a fresh OSC installation from Fantastico. 3 languages were included. As soon I have uploaded Swedish language per instruction, this happened.

Please assist.

Thanks.



You need a file "index.php" in folder "\includes\languages\svenska\". Copy the file from "\includes\languages\english\" and then edit. The file you are missing is the first page of the webpage.

I'm doing an update of the swedish language, which is going to published soon under CONTRIBUTIONS.
OSClooking
QUOTE (KiAnKo1975 @ Jun 27 2007, 02:51 PM) *
I'm doing an update of the swedish language, which is going to published soon under CONTRIBUTIONS.


Nice to hear :-)
niz14
i have the same problem. only in indonesian. please help. i cannot find main directory catalog/includes/languages. so i cannot upload to catalog. my admin page also haveproblem. crying.gif

Warning: main(includes/languages/indonesian/index.php) [function.main]: failed to open stream: No such file or directory in /home/gilabela/public_html/index.php on line 33

Warning: main(includes/languages/indonesian/index.php) [function.main]: failed to open stream: No such file or directory in /home/gilabela/public_html/index.php on line 33

Warning: main(includes/languages/indonesian/index.php) [function.main]: failed to open stream: No such file or directory in /home/gilabela/public_html/index.php on line 33

Fatal error: main() [function.require]: Failed opening required 'includes/languages/indonesian/index.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/gilabela/public_html/index.php on line 33
velkanoc
i had same problem, because I inslalled my language pack just into admin>inludes>language forder, I forgot about catalog>inludes>... one. Jupiii
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.