Pictures won´t upload - errors out big time!
When Uploading a picting through the ADD PICTURE funtion through Add News item, the following error occurs (sorry - can´t format it - just smilies here)
================== copy of error begins=================
Warning: move_uploaded_file(/home/myweb/public_html/NewMan146/newman/gfx/news/webaward2003a.jpg): failed to open stream: Permission denied in /home/myweb/public_html/NewMan146/newman/newspix.php on line 232
Warning: move_uploaded_file(): Unable to move ´/tmp/phpPnEIlg´ to ´/home/myweb/public_html/NewMan146/newman/gfx/news/webaward2003a.jpg´ in /home/myweb/public_html/NewMan146/newman/newspix.php on line 232
------------------------------------ end of frustrating error=================
NOTE: Did find info amongst 195 post and dloaded the "picture.txt" file, changed it to PHP and still get the same error. BTW Line 232 is blank!
Post replies:
Reply by: TheShiva
I read several articles in here re the same problem and responses by antonio were about a revised, typo-corrected pictures.php file but the only ´edited´ one i could find, and it is different than the one with the ZIP is pictures.txt (renamed to php) which doesn´t work either.
The rest of the script seems to work - though I haven´t yet added the magazine - no sense spending time on that if manager doesn´t work.
Antonio seems to have a fixed version of pictures.php gid typeo changed to id and so on, but he emails to individuals and hasn´t repliued, yet, to my PM.
DOCs with these would be nice too. Any ideas you have will be worked on.
Please and thank you
Jim
Reply by: Peter_Vazed
line 134 gid has to be id
idem line 137
line 412
mysql_query("UPDATE ".$GLOBALS[´db_news_pics´]." SET picture=´".$HTTP_POST_FILES[´filename´][´name´]./* "´,thumbnail=´".$HTTP_POST_FILES[´filename´][´name´]. */ "´ WHERE id=´".$_POST[´id´]."´") or die("LINE 262:".mysql_error());
what is between the comments can be deleted
then you have this code:
mysql_query("UPDATE ".$GLOBALS[´db_news_pics´]." SET picture=´".$HTTP_POST_FILES[´filename´][´name´]."´ WHERE id=´".$_POST[´id´]."´") or die("LINE 262:".mysql_error());
:fighter
Reply by: TheShiva
Should I change line 412 to what you have after you say "then you have this code:"? or do I add that line. Where the smilkey shows up, that is a semi-colon and ) ?
Thanks
Reply by: Peter_Vazed
yes
and no,
code with a space so there is no smily
}mysql_query("UPDATE ".$GLOBALS[´db_news_pics´]." SET picture=´".$HTTP_POST_FILES[´filename´][´name´]. "´ WHERE id=´".$_POST[´id´]."´" ) or die("LINE 262:".mysql_error());
:smile:
Reply by: TheShiva

:jafo
Reply by: TheShiva


Reply by: TheShiva
Reply by: TheShiva
Reply by: Peter_Vazed
Go here:
[LINK]
I have done the tessite (third time)
Took me now a hole day to fix a few small adjustments.
You can download there the fixed files.
2 zipfiles.
There are more errors in the latest newman version, and it is hard to find where they are.
It took me 8 weeks to find out and make the changes.
Thanks to the input of the members of this forum in the Q and A
Special thanks to Polaris.
:fighter
Reply by: aioncdkey
It seems Parish and her fiancé have a flair for creating [url=[LINK]]final fantasy xiv gil[/url] buzz. Known as the "wedding can couple," Geyer and Parrish have been in the news because they are paying for their [b][url=[LINK]]final fantasy 14 gil[/url][/b] July 31 wedding solely with the $3,800 in proceeds they earned from recycling 400,000 cans.
The Spokane couple reached [url=[LINK]]buy cataclysm[/url] their goal last week when over a ton of aluminum cans was hauled off their porch by a local [b][url=[LINK]]WoW paladin[/url] [/b]recycler. They continue to collect cans to raise money for their honeymoon and to donate to Doctors Without Borders and [b][url=[LINK]]buy cataclysm key[/url][/b] Rim Country Land Institute.
How did they come up with the offbeat idea? [url=[LINK]]gw2 gold[/url] Parrish said they quickly realized they´d have to save around $500 a month to pay for their wedding if they wanted to get married in a [url=[LINK]]cheap guild wars 2 gold[/url] reasonable amount of time and avoid getting into debt. They didn´t have much extra cash because Parrish was laid off from her job right after they purchased a house.
Parrish and Geyer already [url=[LINK]]gw2 power leveling[/url] had some experience collecting aluminum cans. Geyer, who works as a digital print technician, also melts cans [url=[LINK]]gw2 account[/url] down on his Weber grill and uses the metal to create art in his spare time.
Parrish came up with the idea to pay for their [url=[LINK]]buy gw2 account[/url] wedding in the middle of a sleepless night. She had [url=[LINK]][b]WoW Around Azeroth[/b][/url] just helped Geyer sort through some cans that evening and knew you the [url=[LINK]]final fantasy 14 cd key[/url] could get money for aluminum by the pound, so she figured why not collect aluminum cans to fund their wedding and help the environment.
She woke Geyer up at 1 a.m. [url=[LINK]]buy ffxiv time card[/url] to share her plan. "When I told Peter about it, he kind of gave me a look that said this is a crazy idea, but [b][url=[LINK]]Aion Crafting guide[/url] [/b]you´re the type of crazy that can pull it off," she [url=[LINK]]ffxiv account[/url] says.
Indeed, Geyer was right. Parrish built a website and spread the word amongst friends and through social media. Alcoa donated 150,000 cans to the cause and United [url=[LINK]]cataclysm power leveling[/url] Recycling Services contributed another 73,000. And others are copying their idea to raise money for weddings and other [b][url=[LINK]]ffxiv power leveling[/url][/b] causes.
Their wedding will also be light on the planet. With only $3,800 to spend on a party for 150 people, there´s little room for excess and waste. [url=[LINK]]cheap guild wars 2 gold[/url] The couple has focused on what´s most important to [url=[LINK]]aion kinah[/url] them (gathering their family and friends together for a lively the one [url=[LINK]]gw2 power leveling[/url] celebration), and they´ve also enlisted help.
Here are some details about their DIY wedding:
Venue: Corbin Art Center in [url=[LINK]]gw2 account[/url] Spokane, WA. Cost: $1,000.
Food and beverages: The bride and groom are providing some food, but it is mostly potluck style. The groom has a friend who brews beer as a hobby so he´s [url=[LINK]]buy gw2 account[/url] contributing a keg or two. Parrish and Geyer are making the wine in their basement. The bride´s mom, who owns a catering and reception center in Idaho, [url=[LINK]]final fantasy 14 cd key[/url] is baking and decorating the cake. "We asked our friends to bring a [url=[LINK]]buy aion power leveling[/url] potluck dish, bring yourself, and have fun, because that´s all we [url=[LINK]]buy ffxiv time card[/url] care about," says Parrish.
Flowers: Parrish´s sister-in-law is growing all the flowers for bouquets and decorations.
Music: A harpist is playing [url=[LINK]]ffxiv account[/url] free of charge during the service. Afterwards it´s "DJ by iPods," says Parrish. Friends are creating the playlists.
Clothing: The matron of honor´s mother-in-law is sewing [url=[LINK]]wow cataclysm leveling[/url] Parrish´s floor-length [b][url=[LINK]]buy ffxiv gil[/url][/b] black, red, and white wedding dress. Total cost: $250 for the fabric, plus another $200 for the custom-made corset she´s splurging on. Geyer is sewing his own vest from fabric that cost $25. The couple is making [url=[LINK]]cheap ffxiv gil[/url] ties for all of the groomsmen and telling everyone in the wedding party to wear whatever they´d like.
It seems Parish and her [b][url=[LINK]]ffxiv gold[/url][/b] fiancé have a flair for creating buzz. Known as the "wedding can couple," Geyer and Parrish have been in the news [url=[LINK]]buy cataclysm cd key[/url] because they are paying for their July 31 wedding solely with the $3,800 in proceeds they earned from recycling [url=[LINK]]buy wow cd key[/url] 400,000 cans.
The Spokane couple reached their goal last week when over a ton of aluminum cans was hauled off their porch by a local recycler. [url=[LINK]]cheap wow cd key[/url] They continue to collect cans to raise money for their honeymoon and to donate to Doctors Without Borders and [url=[LINK]]wow cataclysm cd key[/url] Rim Country Land Institute.
[url=[LINK]]ffxiv gold[/url]
[url=[LINK]]ffxiv gold[/url]
[url=[LINK]]ffxiv gold[/url]
[url=[LINK]]ffxiv gold[/url]
[url=[LINK]]ffxiv gold[/url]
[url=[LINK]]ffxiv gold[/url]
Reply by: PK
http://www.blametheancientgreeks.info