feeds.php und feeds.ini.php

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
olape
Posts: 5
Joined: Thu 22. Dec 2005, 19:37

feeds.php und feeds.ini.php

Post by olape »

also damit komme ich nicht so richtig klar,
oder besser ich kann der sache keine ergebnis entlocken.
bisher, mit der rss.php hat es wunderbar funktioniert

hier bekomme ich mal eine leere, also nur die kopfdaten aus der ini,

mal benomme ich einen fehler, das die xml-datei nicht gefunden werden kann

und im moment sagt er

Error, you did NOT set variable $FromCharset in Convert() function.
Error, can NOT read file: /srv/www/web2/html/phpwcms/include/inc_ext/ConvertCharset/ConvertTables/

und das, obwohl ich fast wieder die originalen einstellungen aus der ini drin habe
User avatar
anthony.abraira
Posts: 99
Joined: Sun 11. Sep 2005, 07:42
Location: Mars Hill, NC
Contact:

I second that...

Post by anthony.abraira »

I can't read you wrote except for that error. Turns out I am getting the same thing you are .. not sure what' up....Oli ... u around? 8)

This is the error for all you's out there:

Code: Select all

or, you did NOT set variable $FromCharset in Convert() function.
Error, can NOT read file: web/content//include/inc_ext/ConvertCharset/ConvertTables/
For some reason there are two // between content and include....must part of the problem....but who knows....
"The trick is living without an answer."
User avatar
DeXXus
Posts: 2168
Joined: Fri 28. Nov 2003, 06:20
Location: USA - Florida

Post by DeXXus »

Maybe this is the error?
"include/inc_ext/ConvertCharset/ConvertCharset.class.php"
if ($ToCharset != "utf-8")
{
if (in_array($HexChar, $CharsetTable[$FromCharset]))
{
$UnicodeHexChar = array_search($HexChar, $CharsetTable[$FromCharset]);
$UnicodeHexChars = explode("+",$UnicodeHexChar);
for($UnicodeHexCharElement = 0; $UnicodeHexCharElement < count($UnicodeHexChars); $UnicodeHexCharElement++)
{
if (array_key_exists($UnicodeHexChars[$UnicodeHexCharElement], $CharsetTable[$ToCharset]))
{
if ($this->Entities == true)
{
$NewString .= $this->UnicodeEntity($this->HexToUtf($UnicodeHexChars[$UnicodeHexCharElement]));
}
else
{
$NewString .= chr(hexdec($CharsetTable[$ToCharset][$UnicodeHexChars[$UnicodeHexCharElement]]));
}
}
else
{
print $this->DebugOutput(0, 1, $StringToChange[$i]);
}
} //for($UnicodeH...
}
else
{
print $this->DebugOutput(0, 2,$StringToChange[$i]);
}
}
else
{
if (in_array(
"$HexChar", $CharsetTable[$FromCharset])) <----Quote marks were not used in same statement ABOVE
User avatar
anthony.abraira
Posts: 99
Joined: Sun 11. Sep 2005, 07:42
Location: Mars Hill, NC
Contact:

no cigar

Post by anthony.abraira »

Code: Select all

} //for($UnicodeH...
						}
						else
						{
							print $this->DebugOutput(0, 2,$StringToChange[$i]);
						}
					}
					else
					{
						if (in_array($HexChar, $CharsetTable[$FromCharset])) 
						{
							$UnicodeHexChar = array_search($HexChar, $CharsetTable[$FromCharset]);
							/**
					     * Sometimes there are two or more utf-8 chars per one regular char.
							 * Extream, example is polish old Mazovia encoding, where one char contains
							 * two lettes 007a (z) and 0142 (l slash), we need to figure out how to
							 * solve this problem.
							 * The letters are merge with "plus" sign, there can be more tha
I had them match...with quotes...then without quotes but it still causes this error....
Error, you did NOT set variable $FromCharset in Convert() function.
Error, can NOT read file: ../web/content//include/inc_ext/ConvertCharset/ConvertTables/
"The trick is living without an answer."
1996 328ti
Posts: 317
Joined: Mon 19. Apr 2004, 06:10
Location: Greenville, SC USA
Contact:

Post by 1996 328ti »

I just got this same error out of the blue. :(

Resolved: My host restored the ConvertTables directory and it got rid of the error.
1996 328ti
Posts: 317
Joined: Mon 19. Apr 2004, 06:10
Location: Greenville, SC USA
Contact:

Post by 1996 328ti »

I was trying to isolate a problem by turning RTs involving my RSS feeds on and off.
Now I get the same error I did a year ago.
Reinstalling the ConvertTables did nothing.

I'm running PHP Version 5.2.4.
phpwcms v1.2.7.
Upgrading is not an option because I will loose my most important RT, the teaser tag.

Suggestions?
1996 328ti
Posts: 317
Joined: Mon 19. Apr 2004, 06:10
Location: Greenville, SC USA
Contact:

Post by 1996 328ti »

{bump}
Error, you did NOT set variable $ToCharset in Convert() function.
Error, can NOT read file: /home/username/public_html/include/inc_ext/ConvertCharset/ConvertTables/
My RSS feeds have been working for years until moving to a different server within the same host.
The paths must be correct since the rest of the site works, no?

Any clues? This is a major part of my website.
User avatar
Oliver Georgi
Site Admin
Posts: 9889
Joined: Fri 3. Oct 2003, 22:22
Contact:

Post by Oliver Georgi »

Have a look to snapshot release and related files and try to merge the changes there with your version of phpwcms.

Oliver
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
Post Reply