|
Joined: Jun 2006
Posts: 16,302 Likes: 116
|
Joined: Jun 2006
Posts: 16,302 Likes: 116 |
Did you update all of the paths in your config.inc.php file after the move?
|
|
|
|
Joined: Jun 2006
Posts: 869
old hand
|
old hand
Joined: Jun 2006
Posts: 869 |
i did not see a place for that in config.inc.php A couple of the photo forums seem to work, most do not..
What should it be?
Thanks for your help
|
|
|
|
Joined: Apr 2007
Posts: 3,940 Likes: 1
Former Developer
|
Former Developer
Joined: Apr 2007
Posts: 3,940 Likes: 1 |
if you are on Toms servers, then 777 and 666 isn't a problem. standard 755 and 644 suffice
|
|
|
|
Joined: Jun 2006
Posts: 869
old hand
|
old hand
Joined: Jun 2006
Posts: 869 |
thats in the folder gallery and inside folders like
361 363 368
etc etc?
|
|
|
|
Joined: Jun 2006
Posts: 869
old hand
|
old hand
Joined: Jun 2006
Posts: 869 |
What path has to be there in the config.inc.php?
I can not see a setting for that.
|
|
|
|
Joined: Jun 2006
Posts: 16,302 Likes: 116
|
Joined: Jun 2006
Posts: 16,302 Likes: 116 |
there isn't a path that's specifically for the Gallery, if some work then the paths in the config should be fine. My reference was more towards that a move requires several paths to be updated: 'FULL_PATH' => '/home/user/public_html/forum',
'SESSION_PATH' => '/home/user/public_html/forum/sessions',
'ATTACHMENTS_PATH' => '/home/user/public_html/forum/uploads/files/',
'SQL_LOG_PATH' => '/home/user/forum/logs/sql/',
'ADMIN_LOG_PATH' => '/home/user/forum/logs/cpanel/',
'UPLOADED_AVATAR_PATH' => '/home/user/public_html/forum/uploads/avitars/',
'dumpdir' => '/home/user/forum/backups/',
|
|
|
|
Joined: Jun 2006
Posts: 869
old hand
|
old hand
Joined: Jun 2006
Posts: 869 |
Thanks GIZMO, I believe all of those are correct... just double checked them, I did spell avatars a bit different but it works.
I tried to create a new photo forum, and got their error there as as well.
Still searching...
|
|
|
|
Joined: Dec 2003
Posts: 6,567 Likes: 78
|
Joined: Dec 2003
Posts: 6,567 Likes: 78 |
First thng I would do is goto the ubb control panel and select permission checks. Make sure all folders/files pass for Gallery Items.
Then confirm what image library you are using. Or want to use. ImageMagick or GD2 If ImageMagick then you need to make sure the paths are correct. If you moved hosts the ImageMagick paths may be different now Tom can tell you the paths. But anyway cp>Gallery Settings. What Graphics Library do you want to use?
Note if you use GD2 no paths are required because it should be installed with PHP.
CP>DB,Paths&URLS-Paths&URLS. ImageMagick Settings Paths
Blue Man Group There is no such thing as stupid questions. Just stupid answers
|
|
|
|
Joined: Jun 2006
Posts: 869
old hand
|
old hand
Joined: Jun 2006
Posts: 869 |
hmm changed it to GD and it works...... thanks....
will have to get the other one fixed.
THANKS AGAIN.
|
|
|
|
Joined: Dec 2003
Posts: 6,567 Likes: 78
|
Joined: Dec 2003
Posts: 6,567 Likes: 78 |
Then that means that your paths are incorrect for Imagemagick. Don't forget you have other features that use a image library. Post/Reply Page Options CAPTCHA verification They each have the option to pick one or the other.
BTW what you changed will probably not fix any post while it was not working. Just posts prior to when it was working and after you changed to GD. So that means your test posts need to be deleted. As well as advise any users that you need to delete the broken ones and tell them to re-post.
Last edited by Ruben; 02/15/2013 3:44 PM.
Blue Man Group There is no such thing as stupid questions. Just stupid answers
|
|
|
|
Joined: Apr 2007
Posts: 3,940 Likes: 1
Former Developer
|
Former Developer
Joined: Apr 2007
Posts: 3,940 Likes: 1 |
no real need to go with imagemagick, either. GD should be fine
|
|
|
|
Joined: Jun 2006
Posts: 869
old hand
|
old hand
Joined: Jun 2006
Posts: 869 |
Tom confirmed it was the right path... wonder would could be wrong?
|
|
|
|
Joined: Apr 2007
Posts: 3,940 Likes: 1
Former Developer
|
Former Developer
Joined: Apr 2007
Posts: 3,940 Likes: 1 |
well, if php is configured to NOT allow you running scripts outside of your home directory ( good for security, anyway ), imagemagick won't be allowed to run, since you are running the 'exec()' command... hence, why using GD is what i'd recommend. like i said, you don't gain anything HUGE by using IM, except for less memory use and performance on resizing ( rare ) GD should do fine for you, if your php memory is sufficient
|
|
|
|
Joined: Jun 2006
Posts: 869
old hand
|
old hand
Joined: Jun 2006
Posts: 869 |
Thanks for the help everyone... will be using GD.
|
|
|
|
Joined: Jun 2013
Posts: 34
newbie
|
newbie
Joined: Jun 2013
Posts: 34 |
i did not see a place for that in config.inc.php A couple of the photo forums seem to work, most do not..
|
|
|
|
Joined: Jun 2006
Posts: 16,302 Likes: 116
|
Joined: Jun 2006
Posts: 16,302 Likes: 116 |
You really should only edit the config.inc.php file directly if it's a last resort as a minor syntax error could ruin the config and your forum won't work anymore. The image binary choices exist in the Control Panel under "Gallery Settings" [UBBWiki]
|
|
|
|
Test
by Phun - 05/28/2024 7:31 PM
|
|
|
|
0 members (),
362
guests, and
269
robots. |
Key:
Admin,
Global Mod,
Mod
|
|
|
|