View ProjeQtOr On SourceForge.net
ProjeQtOr - Project Management Tool
Support us on Capterra
OIN - Open Invention Network
ProjeQtOr free project management software - 3.4.0 - Attachment error - Page 2 - ProjeQtOr
 
 

3.4.0 - Attachment error

More
18 Jul 2013 15:21 - 18 Jul 2013 15:22 #7 by babynus
Replied by babynus on topic 3.4.0 - Attachment error
Hi,

Could you try with another browser ?

Could you try with your Chrome on the Demo (demo.projectorria.org) ?

Do you have any extension active on your Chrome browser ?

Babynus
Administrator of ProjeQtOr web site
Last edit: 18 Jul 2013 15:22 by babynus.

Please Log in or Create an account to join the conversation.

More
18 Jul 2013 15:24 - 18 Jul 2013 15:28 #8 by Rexeh
Replied by Rexeh on topic 3.4.0 - Attachment error
Demo does work, I shall make a new installation. This could be down to SQL query being ran manually against the database and not using your inbuilt updater.

Thank you for your help, I'll consider this closed as the demo shows it's clearly working. Worth noting the install was 3.3.2 and updated to 3.4.0.
Last edit: 18 Jul 2013 15:28 by Rexeh.

Please Log in or Create an account to join the conversation.

More
18 Jul 2013 15:48 #9 by babynus
Replied by babynus on topic 3.4.0 - Attachment error
You should consider your PHP Server cache.

For instance, Zend server provides some caching functionality so it will serve the old version of javascript files.
Check for how to clead this cache.
Sometime just a stop-restart of PHP server could be enough.

Babynus
Administrator of ProjeQtOr web site
The following user(s) said Thank You: Rexeh

Please Log in or Create an account to join the conversation.

More
29 Aug 2013 12:23 #10 by jotrong
Replied by jotrong on topic 3.4.0 - Attachment error
I've just had the same problem and find out the reason for it.
It due to magicquotes.
So, in the php.ini (or can change to php5.ini), we can put this line:

magic_quotes_gpc = off;
magic_quotes_runtime = Off;
magic_quotes_sybase = Off;

After we may face again the problem, it's because of the server will take time to take effect for this change.

For my case (I use host Godaddy), what I did is:

1. Log in to Account Manager.
2. From the Products section, click Web Hosting.
3. Next to the hosting account, click Launch.
4. In the Hosting Control Center, click the System Processes icon.
5. Click End Web and follow any prompts.
Reload the program and it works

Please Log in or Create an account to join the conversation.

More
29 Aug 2013 20:01 - 29 Aug 2013 20:02 #11 by babynus
Replied by babynus on topic 3.4.0 - Attachment error
@jotrong :
You're right :woohoo:
I enabled magic_quote_gpc and could reproduce the issue ;)

@Rexeh :
jotrong's advise is the best : disable magic_quotes_gpc.
This directive in obsolete in PHP 5.3 and deleted in PHP 5.4

Anyway, if your provided cannot give you acces to this parameter, the fix is to replace code of file /tool/ack.php with this one :
<?php
/** ===========================================================================
 * Acknowledge an operation
 */
if (array_key_exists('resultAck',$_REQUEST)) {
  $result=$_REQUEST['resultAck'];
  $result=str_replace('\"','"',$result);
  $result=str_replace("\'","'",$result);
  echo $result;
} else if (array_key_exists('resultAckDocumentVersion',$_REQUEST)) {
  $result=$_REQUEST['resultAckDocumentVersion'];
  $result=str_replace('\"','"',$result);
  $result=str_replace("\'","'",$result);
  echo $result;
} else {
	echo("ack type not recognized");
  echo 'errorAck';
}
?>

This fix will be included in V3.5.0.

Babynus
Administrator of ProjeQtOr web site
Last edit: 29 Aug 2013 20:02 by babynus.

Please Log in or Create an account to join the conversation.

More
29 Aug 2013 20:36 #12 by Rexeh
Replied by Rexeh on topic 3.4.0 - Attachment error

babynus wrote: @jotrong :
You're right :woohoo:
I enabled magic_quote_gpc and could reproduce the issue ;)

@Rexeh :
jotrong's advise is the best : disable magic_quotes_gpc.
This directive in obsolete in PHP 5.3 and deleted in PHP 5.4

Anyway, if your provided cannot give you acces to this parameter, the fix is to replace code of file /tool/ack.php with this one :

<?php
/** ===========================================================================
 * Acknowledge an operation
 */
if (array_key_exists('resultAck',$_REQUEST)) {
  $result=$_REQUEST['resultAck'];
  $result=str_replace('\"','"',$result);
  $result=str_replace("\'","'",$result);
  echo $result;
} else if (array_key_exists('resultAckDocumentVersion',$_REQUEST)) {
  $result=$_REQUEST['resultAckDocumentVersion'];
  $result=str_replace('\"','"',$result);
  $result=str_replace("\'","'",$result);
  echo $result;
} else {
	echo("ack type not recognized");
  echo 'errorAck';
}
?>

This fix will be included in V3.5.0.


Thanks, but also couldn't reproduce this issue once I had setup from fresh on our server a while back. Must have been something going from LOCAL and copying the code and bringing it in other server.

Please Log in or Create an account to join the conversation.

Moderators: babynusprotion
Time to create page: 0.036 seconds

Cookies settings

×

Functional Cookies

Ce site utilise des cookies pour assurer son bon fonctionnement et ne peuvent pas être désactivés de nos systèmes. Nous ne les utilisons pas à des fins publicitaires. Si ces cookies sont bloqués, certaines parties du site ne pourront pas fonctionner.

Session

Please login to see yours activities!

Other cookies

Ce site web utilise un certain nombre de cookies pour gérer, par exemple, les sessions utilisateurs.