Record Creation problem PLEASE help!
Moderator: Thorsten
Hi,
okay, I think, I got the problem but we have to test it together. Is this possible?
bye
Thorsten
okay, I think, I got the problem but we have to test it together. Is this possible?
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
Hi,
please add the following code into the file index.php:
bye
Thorsten
please add the following code into the file index.php:
Code: Select all
print_r($_REQUEST);
/* debug mode:
* - FALSE debug mode disabled
* - TRUE debug mode enabled
*/
define("DEBUG", FALSE);
if (DEBUG == TRUE) {
error_reporting(E_ALL);
}
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
Ok, I added the code.
So now I'm getting the information at the top, ie
Array ( [sid] => 35 [aktion] => artikel [rubrik] => 001 [id] => 1 [lang] => en )
I assume that's what you were looking for?
Now that everything is working, do you need me to try to recreate the issue, or is that all you needed?
Just let me know if you need me to do anything else.
My url, so you don't have to go back to the previous post.
http://matrixcompsys.com/phpmyfaq
So now I'm getting the information at the top, ie
Array ( [sid] => 35 [aktion] => artikel [rubrik] => 001 [id] => 1 [lang] => en )
I assume that's what you were looking for?
Now that everything is working, do you need me to try to recreate the issue, or is that all you needed?
Just let me know if you need me to do anything else.
My url, so you don't have to go back to the previous post.
http://matrixcompsys.com/phpmyfaq
Hi,
it would be great if you can try to recreate the issue so we can find a soulution for this randomly bug.
bye
Thorsten
it would be great if you can try to recreate the issue so we can find a soulution for this randomly bug.
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
Ok... so I was able to recreate.
Actually, I didn't have to recreate, it just did it again.
This is what I found. If I delete the cookie for matrixcompsys.com that sets the language to english it will work fine.
So, if I go to http://matrixcompsys.com, which is a phpnuke site, it sets the cookie, then if I go to http://matrixcompsys.com/phpmyfaq, the article text will not work and the output at the top is:
Then I delete the cookie that phpnuke creates for language english, then go back to phpmyfaq, and it will give me the article text and the output is:
The cookie that phpnuke sets is as follows:
Actually, I didn't have to recreate, it just did it again.

This is what I found. If I delete the cookie for matrixcompsys.com that sets the language to english it will work fine.
So, if I go to http://matrixcompsys.com, which is a phpnuke site, it sets the cookie, then if I go to http://matrixcompsys.com/phpmyfaq, the article text will not work and the output at the top is:
Code: Select all
Array ( [sid] => 43 [aktion] => artikel [rubrik] => 001 [id] => 1 [lang] => english )
Code: Select all
Array ( [sid] => 43 [aktion] => artikel [rubrik] => 001 [id] => 1 [lang] => en )
Hi,
okay, we've found the bug. I'll write a fix for this issue.
Thank you!
bye
Thorsten
okay, we've found the bug. I'll write a fix for this issue.
Thank you!
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
Hi,
it should be fixed. If not, please post here!
bye
Thorsten
it should be fixed. If not, please post here!
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
Hi,
okay. Please edit the file artikel.php and remove the following
and insert this:
This should work.
bye
Thorsten
okay. Please edit the file artikel.php and remove the following
Code: Select all
if (isset($_REQUESTT["lang"])) {
$lang = $_REQUEST["lang"];
}
Code: Select all
if (isset($_GET["lang"])) {
$lang = $_GET["lang"];
}
if (isset($_POST["lang"]) && $_POST["lang"] != "") {
$lang = $_POST["lang"];
}
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
Hi,
I'll fix this everythere and release a new version as soon as possible.
bye
Thorsten
I'll fix this everythere and release a new version as soon as possible.
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist