 |
 |
 |
 |
 |
| Author |
Message |
liam
Joined: 13 Feb 2008 Posts: 2 Location: liverpool |
|
new install, went ok except error with image manager +search |
|
Hello All
So a little about me seens as no one will know me. I discovered cutenews (English version) about 2 months ago. Liked it, wanted to use some mods, and then discovered cutehack. Installed that and loved it, but THEN wanted multiple categories and in my quest to get help with that mod I came across cutenewsRU which has that feature already =]
So Im very happy. Ive just installed the latest version afew days ago and everything seemed to go ok. I can add news and edit news, add categories all of that, and see everything on the example page that’s included. The only place I have a problem is on the “manage images” section where I see this under “Save the image in:”
Warning: opendir(//data/upimages/subfolders) [function.opendir]: failed to open dir: No such file or directory in /home/www/crowdsurfer.net/inc/mod/images.mdu on line 1050
And under “directory in”
Warning: readdir(): supplied argument is not a valid Directory resource in /home/www/crowdsurfer.net/inc/mod/images.mdu on line 1054
Under “Select folder”
Warning: opendir(//data/upimages/subfolders) [function.opendir]: failed to open dir: No such file or directory in /home/www/crowdsurfer.net/inc/mod/images.mdu on line 1050
Warning: readdir(): supplied argument is not a valid Directory resource in /home/www/crowdsurfer.net/inc/mod/images.mdu on line 1054
And lastly under “Sort chronologically” I see
Warning: opendir(//data/upimages) [function.opendir]: failed to open dir: No such file or directory in /home/www/crowdsurfer.net/inc/mod/images.mdu on line 541
Warning: readdir(): supplied argument is not a valid Directory resource in /home/www/crowdsurfer.net/inc/mod/images.mdu on line 542
also, with the search page that comes with the example, when you search it gives backa 404 page not found error. Ive noticed that in the address bar it reads
http://crowdsurfer.net/search?do=search&search=test&category=&year=0&month=0&day=0
and if i cyhange it to
http://crowdsurfer.net/search<b>.php</b>?do=search&search=test&category=&year=0&month=0&day=0
it works =/
Anyone any ideas what up here and more importantly how to fix them?
Thanks for reading, and thanks in advance for anyone who responds.
Great script, Great community, lucky me =]
Thanks guys
_________________ crowdsurfer.net |
|
| Fri Feb 15, 2008 5:38 pm |
|
 |
Guest
|
|
|
Please login to hide the ads.
|
|
|
|
 |
FI-DD
Admin

Joined: 22 Sep 2005 Posts: 2857 Location: Germany |
|
|
|
In images.mdu (line 121) change this:
 |  | $folder = end($folder = cute_parse_url($config_path_image_upload)); |
to something like this:
 |  | $folder = './data/upimages/subfolders'; |
In search.php change this:
 |  | <form method="get" action="<?=$_SERVER['PHP_SELF']; ?>"> |
to this:
 |  | <form method="get" action="search.php"> |
|
|
| Sat Feb 16, 2008 7:20 pm |
|
 |
liam
Joined: 13 Feb 2008 Posts: 2 Location: liverpool |
|
|
|
Thank you! fixed in a matter of seconds! thanks very much.
Its a great thing you do here, providing support and working hard on the code in the first place!
your a good one!
Thanks again
_________________ crowdsurfer.net |
|
| Sat Feb 16, 2008 7:35 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
|
|
 |
 |
 |
|