Jump to content
  • 0

Rathena fluxcp problem(cant post in web support)


rom3r

Question


  • Group:  Members
  • Topic Count:  14
  • Topics Per Day:  0.00
  • Content Count:  36
  • Reputation:   1
  • Joined:  05/05/14
  • Last Seen:  

I was having a problem with donates not giving the credits and it was because i was using older flux cp so i got the new one from rathena github.I configured everything and it get 

Warning: array_key_exists() expects parameter 2 to be array, string given in /home/rogalaxy/public_html/lib/Flux/Config.php on line 113

When i go to the site

Ive tried starting with new copy and redoing multiple times anyone know how to fix this thank you

Link to comment
Share on other sites

7 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  130
  • Topics Per Day:  0.03
  • Content Count:  528
  • Reputation:   18
  • Joined:  09/11/12
  • Last Seen:  

Please Post the line 113 from your config

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  14
  • Topics Per Day:  0.00
  • Content Count:  36
  • Reputation:   1
  • Joined:  05/05/14
  • Last Seen:  

		$currentKey = $keys[$size];
		if (array_key_exists($currentKey, $base)) {
			$value = &$base[$currentKey];
			if (is_array($value) && $configObjectIfArray) {
				$configClassName = get_class($this);
				return new $configClassName($value);
			}
			elseif ($value instanceOf Flux_Config && !$configObjectIfArray) {
				return $value->toArray();
			}
			else {
				return $value;
			}
		}
		else {
			// We want to avoid a traditional PHP error when referencing
			// non-existent keys, so we'll silently return null as an
			// alternative 
			return null;
		}
	}
	
	/**

That starts at 112 from my config in the lib file

Edited by rom3r
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  25
  • Reputation:   1
  • Joined:  10/02/12
  • Last Seen:  

reporting the same problem aslo =(

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  224
  • Reputation:   22
  • Joined:  03/23/12
  • Last Seen:  

Also getting this error after updating...any ideas?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  6
  • Topics Per Day:  0.00
  • Content Count:  26
  • Reputation:   0
  • Joined:  06/25/12
  • Last Seen:  

Bump! i Have this warning too  /sob  /sob  /sob

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  10
  • Reputation:   0
  • Joined:  09/13/14
  • Last Seen:  

it seems the $base value is not just an array but a multi-array.. maybe that's the error.. more testing to see if it is the problem

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  5
  • Reputation:   1
  • Joined:  06/18/14
  • Last Seen:  

Link to comment
Share on other sites

×
×
  • Create New...