 |
 |
 |
 |
 |
| Author |
Message |
Br?ck
Joined: 18 Dec 2005 Posts: 1 Location: Norway |
|
Fatal error: Only variables can be passed by reference… |
|
I think that everyone that uses Cutenews.RU, on PHP.5.*.* getting this error.
So, it says that it is some wrong code on line 105, that is correct.
And since i'm a PHP Developer, i fixed it.
So;
Open Main.MDU, and go to line 105 and 106:
 |  |
$image_upload = end(explode('/', $config_path_image_upload));
$userpic_upload = end(explode('/', $config_path_userpic_upload));
|
Okey, Replace that code with this:
 |  |
$image_upload = end($foo=explode('/', $config_path_image_upload));
$userpic_upload = end($foo2=explode('/', $config_path_userpic_upload));
|
You see that the new PHP.5.*.* MUST have variables.
So, PHP says that this code is bad written.
But don't be sad, becuase, if that is correct:
Mambo, PHPbb, vBullentin & many more, have the same error =P
- Br?ck
Sorry for my bad english, but i'm only 13 years, and we have only 5 hours a week of english teaching.
|
|
| Sun Dec 18, 2005 2:21 pm |
|
 |
Guest
|
|
|
Please login to hide the ads.
|
|
|
|
 |
FI-DD
Admin

Joined: 22 Sep 2005 Posts: 2857 Location: Germany |
|
|
|
Thanks, I will correct it in the download file. 
|
|
| Sun Dec 18, 2005 3:09 pm |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum
|
|
 |
 |
 |
|